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.
How can i nest a control in my loop:
<% loop Images %>
<a class="fancybox" data-fancybox-group="gallery" href="$Filename" title="$ImageTitle $ImageSubTitle">
<% end_loop %>
This does't work, I want to have a cropped image and allow the user to control the sizes in the CMS.
This is a little old you may have solved this by now. If now, you try resizeByHeight
croppedImage expects two arguments width & height. [url=http://doc.silverstripe.org/framework/en/reference/image]SS image docs[/url]