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

Image quality resize

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-21-2005, 01:27 PM
 
lstr lstr is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 30
 

Default Image quality resize

Hi, Does anyone know how to keep the quality of the image in a fix size? My image seemed to be distorted.

http://dingca.com/store/product.php?productid=16453&cat=301&page=1
__________________
X-Cart Gold v4.0.10
www.lessterm.com
Web Templates and Web Hosting
Reply With Quote
  #2  
Old 02-21-2005, 06:11 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

In order to keep the images from degrading, make sure your thumbnail image size matches the display size you have set in X-Cart. If you want to use larger images, use a detailed image.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-21-2005, 07:18 PM
 
lstr lstr is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 30
 

Default

The thumbnails used to be the exact size but I change it because in the product.tpl the images are to large and destroys the layout. Is there a way I can use a fix image size in the product.tpl and not get it distorted? The thumbnail will stay as is.
__________________
X-Cart Gold v4.0.10
www.lessterm.com
Web Templates and Web Hosting
Reply With Quote
  #4  
Old 02-22-2005, 03:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yes, resize your images before you upload them. If you let X-Cart resize the image, they will always appear distorted.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-25-2005, 09:15 AM
 
lstr lstr is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 30
 

Default

in /customer/main/product.tpl I change image_x=150 and image_y=150, but somehow it's still distorted. Have you guys tried using PHP GD or has anyone tried using PHP GD to manipulate image quality? There are so many images uploaded already in the site, It will take so long to edit each of them using a graphic editor. http://www.dingca.com/store/product.php?productid=16455&cat=301&page=1
__________________
X-Cart Gold v4.0.10
www.lessterm.com
Web Templates and Web Hosting
Reply With Quote
  #6  
Old 02-25-2005, 09:22 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Like I said, unless your images are PHYSICALLY 150x150, if you tell x-cart to force them to be that size, they will appear distorted. There are plenty of programs that will perform batch resizing of images, so editing them shouldn't be an issue.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 02-25-2005, 09:29 AM
 
lstr lstr is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 30
 

Default

Can you give me a link to one program or something?
__________________
X-Cart Gold v4.0.10
www.lessterm.com
Web Templates and Web Hosting
Reply With Quote
  #8  
Old 02-25-2005, 09:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Photoshop of course, or do a search on Google for "batch image resize", you'll get a ton of options. Also take a look on Download.com.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 11:48 PM.

   

 
X-Cart forums © 2001-2020