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)
-   -   Shrink image on page "view cart" (https://forum.x-cart.com/showthread.php?t=34085)

a1deano 09-20-2007 03:28 PM

Shrink image on page "view cart"
 
Hi could anyone tell me how to shrink the image on the "view cart" page
Have done some alterations on there but couldn't find a way to shrink the image and make it smaller.

For v4.1.8
Also using fast lane checkout

Many thanks to all

toomnyhats 09-20-2007 03:51 PM

Re: Shrink image on page "view cart"
 
It's pulling the size in from your settings in admin right now but if you want to put a different value in:

Find (in /customer/main/cart.tpl)

image_x=$config.Appearance.thumbnail_width

and replace with whatever number you'd like.

For example:

image_x=75

a1deano 09-20-2007 04:20 PM

Re: Shrink image on page "view cart"
 
Hi toomnyhats

Thanks for your help, i tried what you said but it made the image must bigger instead of shrinking it, i went to - /customer/main/cart.tpl and put 75 in so the code looked like this
Quote:

image_x=75$config.Appearance.thumbnail_width

The image went really big, so put number 5, it was still bigger than the orginal image i wish to make smaller...

Regards Dean

toomnyhats 09-20-2007 04:23 PM

Re: Shrink image on page "view cart"
 
Just use 75 (or whatever number you'd like). Take the $config.Appearance.thumbnail_width completely out. That's what is calling it from your admin settings.

a1deano 09-20-2007 04:41 PM

Re: Shrink image on page "view cart"
 
Hi toomnyhats

Top man that sorted it really appreciate your help with that, that was bugging me how to do that.....

Cheers Dean

toomnyhats 09-20-2007 05:01 PM

Re: Shrink image on page "view cart"
 
No problem. Glad it worked for you.


All times are GMT -8. The time now is 11:05 AM.

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