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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -