Hello all,
i have a control in a template like this:
<% control Images %>
<% end_control %>
the control iterates a list of images. each object is type of Image (standard silverstripe class)
actually i would like to output the image like this inside the control
<% control Images %>
$Image
<% end_control %>
of course this is not working because I think I can only access properties of an object inside of a control. Image is not property of image. but can I somehow output the object itself? by using something like $this ...? i need it to say $this.SetWidth(100)
thanks in advance,
florian