Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Help: What is the link for FILE SYSTEM IMAGES?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-15-2003, 05:57 PM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default 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?
Reply With Quote
  #2  
Old 11-17-2003, 02:02 PM
  lildawg's Avatar 
lildawg lildawg is offline
 

X-Adept
  
Join Date: Jan 2003
Location: Utah
Posts: 686
 

Default

I am really unsure what you are asking. Could you explain a little more?
Reply With Quote
  #3  
Old 11-18-2003, 04:05 AM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default

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]
Reply With Quote
  #4  
Old 11-20-2003, 05:57 AM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default

nm, I figured out the strings. Thanks

Is there a publish list of all the strings and arrays used in X-cart?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:50 PM.

   

 
X-Cart forums © 2001-2020