X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Thumbnails disorted! Help! (https://forum.x-cart.com/showthread.php?t=7301)

cbslimport 04-25-2004 08:02 AM

Thumbnails disorted! Help!
 
Iб╢m using 3.5.6 and have my thumbnails pictures stored on the server, not in the database. Iб╢ve tried to delete the thumbnail width in General Settings but it doesnб╢t store it, it sets it to the size of 70.
Is there anyway I can delete the standard width since all of my thumbnails are not in the same size.

Sembroidery 04-25-2004 04:36 PM

Re: Thumbnails disorted! Help!
 
Quote:

Originally Posted by cbslimport
Is there anyway I can delete the standard width since all of my thumbnails are not in the same size.


I don't think so. You'll have to either make all your thumbnails same width or X-cart will stretch or shrink them to one and the same size.

B00MER 04-26-2004 01:45 AM

Set it to 0 instead of completely removing it.

This will make the thumbnail not scale, and use its original aspect ratio.

hth. ;)

shan 04-26-2004 01:48 AM

you have to edit products.tpl and product.tpl.

look for something like this

Code:

{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}
{$lng.lbl_see_details}</a>


you can change the parts

Code:

[product].productid image_x=$config.Appearance.thumbnail_width

to maybe

Code:

[product].productid image_x=100


All times are GMT -8. The time now is 06:00 AM.

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