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)
-   -   cart image size (https://forum.x-cart.com/showthread.php?t=40664)

kvedros@cox.net 06-21-2008 05:28 PM

cart image size
 
Is it possible to reduce the image size in the cart and keep the thumbnail size the same?

JWait 06-24-2008 03:01 PM

Re: cart image size
 
in cart.tpl find this line...
Code:

<a href="product.php?productid={$products[product].productid}">{if $products[product].is_pimage eq 'W' }{assign var="imageid" value=$products[product].variantid}{else}{assign var="imageid" value=$products[product].productid}{/if}{include file="product_thumbnail.tpl" productid=$imageid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].pimage_url type=$products[product].is_pimage}</a>

change the part that says " image_x=$config.Appearance.thumbnail_width" to "image_x=100" (or whatever you want the width to be in pixels)

kvedros@cox.net 06-24-2008 03:47 PM

Re: cart image size
 
thank you so much.

photo 07-02-2008 04:43 AM

Re: cart image size
 
Quote:

Originally Posted by JWait
in cart.tpl find this line...
Code:

<a href="product.php?productid={$products[product].productid}">{if $products[product].is_pimage eq 'W' }{assign var="imageid" value=$products[product].variantid}{else}{assign var="imageid" value=$products[product].productid}{/if}{include file="product_thumbnail.tpl" productid=$imageid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].pimage_url type=$products[product].is_pimage}</a>

change the part that says " image_x=$config.Appearance.thumbnail_width" to "image_x=100" (or whatever you want the width to be in pixels)


Great! Thank you JWait :D


All times are GMT -8. The time now is 10:35 PM.

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