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

Product images in cart page to big - Need thumbs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-12-2004, 06:38 PM
 
riaanvdm riaanvdm is offline
 

Newbie
  
Join Date: Jun 2004
Posts: 4
 

Default Product images in cart page to big - Need thumbs

Hi,

Any one have a solution to the fact that the images in the inital cart page are all different sizes and huge - I would like them to be the same size as the Product thumbs

Any ideas?

Thanks

X-Cart Gold
3.5.9
Linux
Reply With Quote
  #2  
Old 07-12-2004, 07:36 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

This is from my 3.4.14 store but the code must be similar.

skin1/customer/main/cart.tpl


Hardcode the image_x to a fixed width. Either image_x=100 or image_x="100" I'm not sure which.

Best of luck.
Reply With Quote
  #3  
Old 07-12-2004, 09:34 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Here is how I did it.

I used Photoshop to resize the pictures. I created thumbnails and Detail Images both at the sametime using Photo Gallery on PS7

Thumbnails 120x120px
Details 600x480px

Then I uploaded to my server to the proper folders.

../xcart/files/thumbnails
../xcart/files/details

Best of luck
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #4  
Old 07-15-2004, 04:34 AM
 
redback redback is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Australia
Posts: 34
 

Default Photoshop resize?

Hi,
I am new to PS7 and was wondering how to create thumbs and larger images in PS7? Do you have to change image size on each small and large image.

Also...
* how do I reduce the image file size?
* when I shrink my image the pic becomes hard to look at, can the image re-focus itself?
Thanks in advance.
__________________
Thank you in advance.


Redback
X-Cart Gold - using version 4.0.10 w/ custom mods.
Reply With Quote
  #5  
Old 07-15-2004, 09:46 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

if you want to reduce several pics at the same time PS& has an option called "Web photo gallery" this is how you get to it

File ----> Automate -----> Web photo gallery

Now PS7 will reduce the Image to the size you like if you product image is smal to begin with then the thumbnails will not look good.

So make sure the big image of your product is frame in your picture as big as can possibly be.

Hope this will help

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #6  
Old 07-25-2004, 08:56 PM
 
abdera abdera is offline
 

Member
  
Join Date: Jul 2004
Location: lost in code purgatory
Posts: 26
 

Default

To reduce image size: Get your image up into PSP. From "image" pull-down select "resize." A box comes up with options. Hit radio button near the top for "pixel size." Down near bottom at "Resize type" select "Bicubic Resample." Check both boxes below that to "Resize all Layers" and "Maintain Aspect Ratio." Then go back to the top and enter width. Type in 125 pixels for width. Then hit OK. This would be your thumbnail. Under "files" select "Save As" and give it a new name, and select .jpg fle type. ie: if original file is named widget.xxx, save it as widgetT.jpg.

Now clear the thumbnail by clicking on the X. Reload original image. Do all over again except for the size in pixels can be larger, almost any size you like. So, try, for example, 300 to 500 pixel width. When done, save this as widgetD.jpg for your Detailed image.

Since you'll probably be doing this a lot, you might want to create a directory on your hard drive called "StorePics" or something like that. Then create three sub directories; thumbnails, detailed, and originals.

Hope this helps.
__________________
v3.5.11 Live, X-AOM, Linux
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 10:35 AM.

   

 
X-Cart forums © 2001-2020