Skip navigation
Currently Being Moderated

Widgets - SmartImage

Aug 7, 2012 12:10 AM

Tags: #widgets

How to disable image upload feature on clicking smartimage?

 
Replies
  • Justin Edelson
    276 posts
    Nov 24, 2010
    Currently Being Moderated
    Aug 7, 2012 6:17 AM   in reply to sravankumarsindhe
     
    |
    Mark as:
  • Justin Klei
    40 posts
    Apr 14, 2009
    Currently Being Moderated
    Aug 8, 2012 1:16 PM   in reply to sravankumarsindhe

    Sravan,

     

    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?

     
    |
    Mark as:
  • Justin Edelson
    276 posts
    Nov 24, 2010
    Currently Being Moderated
    Aug 9, 2012 6:43 AM   in reply to sravankumarsindhe

    Sravan-

    allowUpload is a config option. In the cq:Widget node, you need to set this as a property. If you are instantiating this widget directly in JavaScript, it would be part of the config object passed to the constructor.

     

    Regards,

    Justin

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points