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

Stop Thumbnail Images Distortion

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 08-19-2003, 03:06 PM
 
info@auction-help.com info@auction-help.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 15
 

Default Stop Thumbnail Images Distortion

This fix works only if you have resized your thumbnails to the size you want them to appear.
I used a batch program called Media Resizer that I downloaded from downloads.com and it worked very good to resize all of the images in my thumbnail directory in one shot.

After my thumbnails were sized to 120 max width or 120 max length to insure that the thumbnails never exceded 120 either direction then I found the file

/customer/main/products_t.tpl

Located this line of code

image_x=$config.Appearance.thumbnail_width

and deleted it.

It works well for me and now my thumbnails look like the originals.

If you have any problems just replace the original file from your skin1_originals or replace the line you deleted.

I hope this helps someone.
Reply With Quote
  #2  
Old 08-20-2003, 07:10 AM
  lildawg's Avatar 
lildawg lildawg is offline
 

X-Adept
  
Join Date: Jan 2003
Location: Utah
Posts: 686
 

Default

Also if using 3.4.0 or later just login and go to apperance settings and change the width to 00 instead of the deafult 70 and it will keep your thumbnails just as they already where and that way you don't have to change any files that you do not need to.
Reply With Quote
  #3  
Old 08-25-2003, 04:27 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

100 will work as well as 0
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #4  
Old 09-22-2003, 09:20 AM
 
Transient Media Transient Media is offline
 

Newbie
  
Join Date: Sep 2003
Posts: 1
 

Default How to you fix it with version 3.3.8

I looked for /customer/main/products_t.tpl

line of code

image_x=$config.Appearance.thumbnail_width

But could not find it.

Is there another way in version 3.3.8 to not have the thumbnails look so crappy?

Thanks.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:40 AM.

   

 
X-Cart forums © 2001-2020