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)
-   -   X-cart 3.5.7 getting different thumbnail sizes (https://forum.x-cart.com/showthread.php?t=7862)

blue-dreamer 06-01-2004 06:47 PM

X-cart 3.5.7 getting different thumbnail sizes
 
Weird one, I set the width to 120 in General settings but one thumbnail is still showing at the default 70.

Images on Featured Products, Category List, and Search results show fine at 120 wide, but in the product detail page it still displays at 70.

The templates that reference the thumbnails haven't been touched.

Has anyone else solved this?

X-cart 3.5.7

product.tpl

Code:

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

products.tpl

Code:

<a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}>{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}
{$lng.lbl_see_details}</a>


TelaFirma 06-02-2004 04:46 AM

It might help if you posted a URL to the page in question.

TonyD 06-02-2004 06:46 AM

sounds like some of your images are not 120 pix wide to begin with......


All times are GMT -8. The time now is 01:49 AM.

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