X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Help: What is the link for FILE SYSTEM IMAGES? (https://forum.x-cart.com/showthread.php?t=5239)

concepts 11-15-2003 05:57 PM

Help: What is the link for FILE SYSTEM IMAGES?
 
I use 3.4.9 and file system for product images

I want to img src the detailed image (the first one) on the top of the product page, what is the code to do that?

img src="productid(detailed image url here"

help..


I dont want to called the detailed image because it loops all he images and displays them all if there is more than one.

Anyone know?

lildawg 11-17-2003 02:02 PM

I am really unsure what you are asking. Could you explain a little more?

concepts 11-18-2003 04:05 AM

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]

concepts 11-20-2003 05:57 AM

nm, I figured out the strings. Thanks

Is there a publish list of all the strings and arrays used in X-cart?


All times are GMT -8. The time now is 03:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.