| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Imported Thumbnails Distorted | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Imported Thumbnails Distorted
Hi,
I have imported some 50x50 images to be used as thumbnails for my products, however when they are displayed in the products list, they are distorted to '50x63'. The x y dimensions of the images are recorded in the products table correctly and the images that I manually added are not distorted. If anyone has any advise on what might be causing the problem it would certainly be apprecaited. If I remove the following code from the 'product_thumbnail.tpl' the images are displayed as 50x50 as intended: Code:
Thanks in advance
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#2
|
|||||||
|
|||||||
Any ideas? I'm sure it is something very small... thanks
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#3
|
|||||||
|
|||||||
What is your thumbnail width in General Setting/Appearance Options? If you have a fixed width (50), you might try setting it at 0. The if statement in there basically won't change your image if that is set to 0.
"Thumbnail width in the products list: 0". That may work ... - Mike
__________________
4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
Mike,
I have done as you suggested and the images are left at their respective sizes. Is there any advantage of having the 'x' and 'y' dimensions of images defined, or is it simply intended to resize the images? Thanks!
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#5
|
|||||||
|
|||||||
Generally, X-Cart works with a product image and uses the same image scaled down for the thumbnail. As a method, it isn't effective. That is one reason there are at least a dozen major product image mods in the forum.
You most likely are using the same thumbnail and product image, the inaccurately scaling the image. I suspect that X-Cart with improve product images in the versions to come. - Mike
__________________
4.1.9 |
|||||||
#6
|
|||||||
|
|||||||
Thanks again Mike,
I think i've solved my thumbnail image problem
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
|
|||
X-Cart forums © 2001-2020
|