News:

Support the VirtueMart project and become a member

Main Menu

Stretched image in product details - help!!

Started by Branso, February 12, 2020, 11:21:27 AM

Previous topic - Next topic

Branso

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

GJC Web Design

It will be your template ...  have u asked the template developer?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Branso

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

Jörgen

Either modify the css for your template or upload square images.
Templatemonster should surely help You with this.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Branso

So I wrote css object-fit: contain;
It worked.
Maybe it will help others ...

pinochico

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.

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Branso

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.

Branso

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.

Studio 42

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.