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)
-   -   getting the thumbnail image name (https://forum.x-cart.com/showthread.php?t=53687)

Kiwami 05-11-2010 09:05 AM

getting the thumbnail image name
 
Hi, i'm running 4.3 and I want to display the path to the thumbnail image. I've gotten as far as making it generate an embeddable image that will work great in the browser

Code:

{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}

but I really want the "name.jpg". Is this possible ? This is in the product details page.

Thanks
- Kiwami

Shamun 05-11-2010 01:48 PM

Re: getting the thumbnail image name
 
{$product.images.T.url}

Kiwami 05-11-2010 08:25 PM

Re: getting the thumbnail image name
 
thanks, but that still outputs "/image.php?id=6" .. not "image.jpg" or "/T/image.jpg" :(

ynotcreative 05-16-2010 02:00 PM

Re: getting the thumbnail image name
 
COunt me in as being curious, too.


All times are GMT -8. The time now is 11:37 PM.

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