VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Maurice M on August 05, 2015, 00:21:52 AM

Title: Product picture has wrong aspect ratio
Post by: Maurice M on August 05, 2015, 00:21:52 AM
My first question here so please be light on me - I'm just a simple car guy 8-)

Joomla 2.5 and Virtuemart 2.6.6:
I added some products to my site and don't know what else I did but now the product picture is distorted; has the wrong aspect ratio. The thumbnail is fine, clicking on it gives me a distorted picture and enlarging THAT gives me again a lerge picture with the correct aspect ratio. How can I change that? Thank you,
Maurice
www.grandtouringusa.com
Title: Re: Product picture has wrong aspect ratio
Post by: GJC Web Design on August 05, 2015, 10:36:05 AM
got some dodgy css there

change to (over ride)

.product-image-area {
    width: 100%;
    float: left;
}

.product-image-slideshow .big-image img#big-product-image {
    max-width: 100%;
    width: 100%;
    height: auto;
}
Title: Re: Product picture has wrong aspect ratio
Post by: Maurice M on August 08, 2015, 02:59:53 AM
Thank you for your reply and it seems you sent a picture where the image shows correctly. Now, I've been racking my brain to see where I need to change override AND change the CSS - all I can find is these files. Is your code in one of these? If so I wasn't able to find it. Like I said I'm not familiar with this and I guess it shows. Thank you,
Maurice
Title: Re: Product picture has wrong aspect ratio
Post by: Maurice M on August 08, 2015, 03:31:38 AM
Follow up:

I noticed that rt_halcyon is my *master* template so I looked in there and found these files (pictured). Anything I need to do with those?