customizing html5smartimage

Avatar

Avatar

Rakesh_Rangaraj

Avatar

Rakesh_Rangaraj

Rakesh_Rangaraj

15-10-2015

How can I given an option to author to resize the image using the zoom slider instead of specifying the height and width of the image? 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

15-10-2015

You can write a custom xtype that uses this data type.

http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.SmartImage

When you do that - have access to the methods and properties of this data type. 

To learn how to write a custom xtype - see: 

https://helpx.adobe.com/experience-manager/using/creating-custom-xtype.html

Answers (0)