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)
-   -   more detailed images? (https://forum.x-cart.com/showthread.php?t=14041)

davros 05-25-2005 12:26 AM

Thanks but I've now got something working now which I quite like 3 small images (loaded as detailed images) One main image which is large version of first small image - smarty loops through using {if $images[image].tmbn_url} so to call the first small detailed image just use this like

[img]{$images[0].tmbn_url}[/img] or if you want to reference another image that you have uploaded
[img]{$images[0].tmbn_url}_lg[/img] I add id="mainimage" then do a little swap so to the small images I add

onclick="document.images['mainimage'].src='{$images[image].tmbn_url}_lg

This swaps the large version of each detail into the space of the main image.

Don't know what's the problem with my sig. I can't seem to save my profile. When I change it to always include sig, and change the content, it comes back looking fine but then when I post, it's not there and when I go back to my profile it hasn't saved :(

artinion 05-25-2005 12:34 AM

Looks like you found a good and workable solution using Smarty templates. Commendable.

As for your sig, I finally see it. Red Hat Enterprise and x-cart 4.0.13.

Have a nice day.

artinion


All times are GMT -8. The time now is 02:06 AM.

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