X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Stop Thumbnail Images Distortion (https://forum.x-cart.com/showthread.php?t=4049)

info@auction-help.com 08-19-2003 03:06 PM

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.

lildawg 08-20-2003 07:10 AM

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.

B00MER 08-25-2003 04:27 PM

100 will work as well as 0 ;)

Transient Media 09-22-2003 09:20 AM

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.


All times are GMT -8. The time now is 06:50 PM.

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