Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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