Forums / General / Image preview problem / Comment34019

Author Topic

Kristof Coomans

Wednesday 23 August 2006 5:53:56 am

Comment34019

Hello Eric

If you're using the attribute_view_gui template function to display the image, then just add link_to_image=true() to it.

If you're directly using the image attribute, then use:
{$attribute.content.original.url|ezroot} for the href attribute of the HTML anchor.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org