I am in the product TPL
I am using 3.4.9
I am storing my images OFF database
Xcart just saves the URL for the DETAILED IMAGE
I want a lonk for the URL to the detailed image to be used on the product.tpl page and subcat page so I can hard code it on the top. Only the first URL (first photo)
I would call the DETAIL IMAGE MODULE, but it shows all the IMAGES in a loop and I just need the URL
Detail Image module below
[code]{* $Id: product_images.tpl,v 1.7.2.2 2003/06/24 10:43:25 svowl Exp $ *}
{if $images ne ""}
{capture name=dialog}
<div align=center>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
[img]{$images[image].tmbn_url}[/img]
{else}
[img]../product_image.php?imageid={$images[image].imageid}[/img]
{/if}
{/if}
{/section}
</div></code>
I want the URL but I cannot decipher this
[code][img]../product_image.php?imageid={$images[image].imageid}[/img]
[/code]
In the product TPL, I just want to be able to
[img]ProductimageFileSystemURLstored[/img]
|