Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
In my template I would like to use image which will be resized by ratio, and I need to use "control" method to to that..
<% control ResizedImage(150,150) %> - will resize image, skews if necessary
<% control CroppedImage(150,150) %> - crops image
what is the code for this to do resizing by ratio?
thanks a lot in advance!
I presume that your images have a 1:1 relation to an object.
<% control relationName %>
<% end_control %>
Have a look at the documentation: