| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
elongated thumbnails | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I uploaded my thumbnails and they're elongated by a 3X factor. Any ideas on why this is?
|
|||||||
#2
|
|||||||
|
|||||||
![]() Is it something in your code that displays the image setting the width and height really odd. Maybe you changed the width on the display template?
__________________
Jason Diehl Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/ |
|||||||
#3
|
|||||||
|
|||||||
![]() I previuosly loaded thumbnails that were 60 px X 160. They were enlarged and so after reducing the default 125 px width in general settings it worked. I reformatted the images to 125 px width and changed the general settings back to 125 px and it stretches the thumbnails.
|
|||||||
#4
|
|||||||
|
|||||||
![]() I'm checking both of your stores that are hosted with us and I'm not seeing the issue you are having. Could you be more specific about where the problem is happening.
__________________
Jason Diehl Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/ |
|||||||
#5
|
|||||||
|
|||||||
![]() |
|||||||
#6
|
|||||||
|
|||||||
![]() The height of the image is being set in the HTML as 568 with a width of 125. Are you sure that your templates aren't expressly defining this 568 value? Or on your admin side when you look at your images that are stored in the system what value of height and width are stored in there?
__________________
Jason Diehl Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/ |
|||||||
#7
|
|||||||
|
|||||||
![]() What is weird is that my product image is 568 high and my thumbnail is 125 wide so it seems to be borrowing from both on the customer side. They display correctly in the admin side.
|
|||||||
#8
|
|||||||
|
|||||||
![]() Well if you are running 4.1.9 you can define a separate thumbnail file from your regular product image, so why don't you just resize the image to be proportional at a width of 125 px, then the height will match. It seems as though your X-Cart isn't resizing proportionally.
The other option would be to edit your template files so that it doesn't even define the height, only the width, in which case the browser would resize proportionally just fine.
__________________
Jason Diehl Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/ |
|||||||
#9
|
|||||||
|
|||||||
![]() Just went through this last night- not sure if it is the perfect fix but seems to work for me in 4.1.8
Any gurus see any concerns with what I did here? Not sure if this is breaking any rules of logic. http://forum.x-cart.com/showthread.php?t=36154
__________________
Version 4.1.9 |
|||||||
#10
|
|||||||
|
|||||||
![]() Looker1
In my case all thumbnails are all formatted to 125 wide X 220. It has taken my thumbnail width and my product image length and combined them |
|||||||
|
|||
X-Cart forums © 2001-2020
|