Gallery module - custom param.
Posted: Mon Dec 30, 2013 1:19 pm
Hi,
I would like to bring to such a situation, so I can decide which side will display the image (float:left or float:right).
My template code (for single image):
<a class="single" style="float:XXX" href="{$image->file|escape:'url'|replace:'%2F':'/'}" title="{$image->title}" rel="prettyPhoto"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->title}" /></a>
Into the content I put:
{Gallery dir='Gallery' img="64" XXX="left"}
Of course it dosen't work - I was missing something, but I do not know what. If anyone can help?
I would like to bring to such a situation, so I can decide which side will display the image (float:left or float:right).
My template code (for single image):
<a class="single" style="float:XXX" href="{$image->file|escape:'url'|replace:'%2F':'/'}" title="{$image->title}" rel="prettyPhoto"><img src="{$image->thumb|escape:'url'|replace:'%2F':'/'}" alt="{$image->title}" /></a>
Into the content I put:
{Gallery dir='Gallery' img="64" XXX="left"}
Of course it dosen't work - I was missing something, but I do not know what. If anyone can help?