VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Branso on February 12, 2020, 11:21:27 AM

Title: Stretched image in product details - help!!
Post by: Branso on February 12, 2020, 11:21:27 AM
When I upload photos, it keeps expanding them in details. When I upload a square image it's okay. So when I upload an exact four-dimensional image, it's ok. :'( I attach a photo
Title: Re: Stretched image in product details - help!!
Post by: GJC Web Design on February 12, 2020, 12:18:23 PM
It will be your template ...  have u asked the template developer?
Title: Re: Stretched image in product details - help!!
Post by: Branso on February 12, 2020, 13:33:00 PM
It's a free template from templatemonster
www.templatemonster.com/demo/60030.html
I can also send a link to my site, but this is it. I don't have a page yet on server
Title: Re: Stretched image in product details - help!!
Post by: Jörgen on February 12, 2020, 14:36:36 PM
Either modify the css for your template or upload square images.
Templatemonster should surely help You with this.

Jörgen @ Kreativ Fotografi
Title: Re: Stretched image in product details - help!!
Post by: Branso on February 12, 2020, 16:44:30 PM
So I wrote css object-fit: contain;
It worked.
Maybe it will help others ...
Title: Re: Stretched image in product details - help!!
Post by: pinochico on February 13, 2020, 07:13:00 AM
QuoteMaybe it will help others ...

I think no because of this change, stop function for zoom effect :D
And for SEO practice (big image, loading time....) is not a good option.

Title: Re: Stretched image in product details - help!!
Post by: Branso on February 13, 2020, 07:40:33 AM
Yes it's true I know, but if you have a better solution for this temlate then write. I do this so I can upload more photos at a time, which I don't need to edit in square format for zoom to work.
Title: Re: Stretched image in product details - help!!
Post by: Branso on February 13, 2020, 11:19:28 AM
QuoteI think no because of this change, stop function for zoom effect :D
And for SEO practice (big image, loading time....) is not a good option.

Yes it's true I know, but if you have a better solution for this temlate then write. I do this so I can upload more photos at a time, which I don't need to edit in square format for zoom to work.
Title: Re: Stretched image in product details - help!!
Post by: Studio 42 on February 13, 2020, 11:25:56 AM
I use for some customer image zoom scripts and it dont need to stretch the image to work right. Change the script or report it to the template dev.