How to click to enlarge product image
Posted: Tue Feb 18, 2014 10:32 am
Hi
Ref: Product images
Can anyone modify this code to allow me to click image to enlarge.
I am sure its straight forward but just can't crack it.
{if $entry->fields.Product_image->value != ""}
<div class="images" style="clear: both;"><img style="display: block; float: none;" src="uploads/Products/product_{$entry->id}/{$entry->fields.Product_image->value}" width="200" alt="{$entry->product_name}" name="main_image" /></div>
{/if}
I would like to display thumbnail image then enlarge to full size image.
Any help to point me in the right direction would be appreciated.
Thanks
Ref: Product images
Can anyone modify this code to allow me to click image to enlarge.
I am sure its straight forward but just can't crack it.
{if $entry->fields.Product_image->value != ""}
<div class="images" style="clear: both;"><img style="display: block; float: none;" src="uploads/Products/product_{$entry->id}/{$entry->fields.Product_image->value}" width="200" alt="{$entry->product_name}" name="main_image" /></div>
{/if}
I would like to display thumbnail image then enlarge to full size image.
Any help to point me in the right direction would be appreciated.
Thanks