Expand my Community achievements bar.

SOLVED

customizing html5smartimage

Avatar

Level 2

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? 

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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