![]() |
Products List Thumbnail Size = product_thumbnail.tpl
:cry: I have searched for this in the forum, but I have not been able to find this exact problem.
Re: General settings/Appearance options We need to "Show thumbnails in products list" since this is an Art Gallery store. But, we need the 5,000+ thumbnails to match the same size as the thumbnails on the Products detail page. All of the thumbnails are 125 pix at either X or Y, but not both. Some are horizontal images and some are vertical images. The thumbnails show up perfect on the Product detail pages, but if an image is vertical (45 wide x 125 height) the thumbnail is distorted on the Products List since it is converting it to 125 wide. I tried leaving the "Thumbnail width in the products list:" empty, but it defaults to 70. Is there a work around where I can hardcode the Products List display to show the thumbnails the same way the Products detail pages do? Thank you in advance, Darlene |
Are you using a single column display or multi column on the products list?
|
Hi Padraic,
I am using a single column display: http://65.109.230.157/home.php?cat=5 Thanks, Darlene |
you can set the size of the table cell that the image is in and remove the x & y image size from products.tpl.
Either that or check how the code is done in product.tpl |
Solution
Thank you Shan, it worked!
From customer\main\product.tpl remove from line 23: Code:
image_x=$config.Appearance.thumbnail_width Before: Code:
<A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}">{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} After: Code:
<A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}">{include file="product_thumbnail.tpl" productid=$products[product].productid product=$products[product].product tmbn_url=$products[product].tmbn_url} The thumbnail sizes on the Product List now matches the thumbnail sizes on the Product Page. Thank goodness for the forum!! :D Darlene |
All times are GMT -8. The time now is 02:32 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.