Quote:
Originally Posted by gotpump
How do I set my store to have thumbnails displaying to the true size of an image. Like instead of a default 100x100 or whatever it is it will just show the image in it's true size?
|
In the next file "skin1/customer/main/products.tpl", find the next line
PHP 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}</a>
and delete the following snippet
PHP Code:
image_x=$config.Appearance.thumbnail_width
In the next file "skin1/customer/main/products_t.tpl", find the next line
PHP 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=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>
and delete the following snippet
PHP Code:
image_x=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y