set allowUpload = false
Can you provide more information on what you have tried? Did you create a custom component, or are you trying to use the out-of-the-box image component? If OOTB, how did you override/modify the component?
I created a custom component that uses smartimage in its dialog. When I open the dialog and click on the smartimage area, it allows to browse the images from local file system. I am supposed to diable this feature. so, I wrote a listener for loadcontent and beforerender events of smartimage and set allowUpload field to false inside it. But it did not work. smartimage is inheriting this feature from smartfile. I went through source code of smartimage and smartfile. Upload functionality is implemented inside private methods of smartfile. I do not know how private members got inherited and how to override.
Message was edited by: sravankumarsindhe