View Single Post
  #10  
Old 05-24-2005, 08:04 PM
 
artinion artinion is offline
 

Advanced Member
  
Join Date: Feb 2005
Location: Bangkok, Thailand
Posts: 37
 

Default

Quote:
Originally Posted by davros
How about you simply upload additional files with corresponding names to the same folder, so detailed image is img1.jpg and additional file is img1_lg.jpg
Then you can call on this file from /modules/Detailed_Product_Images/product_images.tpl using

[img]{$images[image].tmbn_url}_lg[/img]

Does that help? I'm doing something like that and using an image swap so clicking on the small image loads the large image into the page.

That could be done. How does the Smarty script know which image to retrieve? You will need a way to keep track which extra large image is for which product.

Anyway, I found the fix. This works for x-cart 4.0.12. The environment is Linux, MySQL, PHP vesion 4.

Oh and please update your signature so we know what version of x-cart you are using and on what evironment (Windows/Linux, MySQL, PHP, etc). The better to help. Your signature can be updated by going to your "forum profile".

If you need the fix, I can give it to you. Just "Private Message" (PM) me.

artinion
__________________
X-Cart v. 4.0.12 Gold
Linux, Apache, MySQL, PHP 4
Reply With Quote