SilverStripe Images - How to get images with original dimensions? -
i have page has images in many_many
relation. how images original dimensions?
i'm using below code
<code><% loop images %> $setsize(250,250) <% end_loop %></code>
<% loop images %> $me <% end_loop %>
$me
how access current item of loop (it's bit $this
in php).
another way $fortemplate
, that's bit inelegant.
Comments
Post a Comment