Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Shrink image on page "view cart"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2007, 03:28 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 09-20-2007, 03:51 PM
 
toomnyhats toomnyhats is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 41
 

Default 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
__________________
toomnyhats
X-Cart Gold 4.1.9 (Unix)
X-SpecialOffers
DSEFU (disabled)
Reply With Quote
  #3  
Old 09-20-2007, 04:20 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #4  
Old 09-20-2007, 04:23 PM
 
toomnyhats toomnyhats is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 41
 

Default 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.
__________________
toomnyhats
X-Cart Gold 4.1.9 (Unix)
X-SpecialOffers
DSEFU (disabled)
Reply With Quote
  #5  
Old 09-20-2007, 04:41 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #6  
Old 09-20-2007, 05:01 PM
 
toomnyhats toomnyhats is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 41
 

Default Re: Shrink image on page "view cart"

No problem. Glad it worked for you.
__________________
toomnyhats
X-Cart Gold 4.1.9 (Unix)
X-SpecialOffers
DSEFU (disabled)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:47 PM.

   

 
X-Cart forums © 2001-2020