![]() |
help with product_thumbnail.tpl
i recently had to resize all my thumbnails
I batch'd em all in photoshop and then over-wrote the older larger thumbnails. But i saw a problem real quick when looking at the product page and the thumbnail was still trying to be the original size. i guess this data (the original dimensions are stored in the database??) i read this topic http://forum.x-cart.com/viewtopic.php?t=21424 and it said to remove this from the product.tpl template to get them to resize automatically: image_x=$product.image_x image_y=$product.image_y which worked perfect. but now the original thumbnail is still trying to show in a few other places like the admin backend and when the customer is viewing the thumbnails in the cart. i think these places reference product_thumbnail.tpl can anyone tell me how to modify product_thumbnail.tpl so as to not refernce the original X and Y values, since my thumbnails are a different size now. thank you!! here is whats in product_thumbnail.tpl Code:
{* $Id: product_thumbnail.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *} |
Try removing this part of the code:
Code:
{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} |
perfect.
thank you! |
All times are GMT -8. The time now is 03:41 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.