Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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