Author Topic: Stretched image in product details - help!!  (Read 578 times)

Branso

  • Beginner
  • *
  • Posts: 9
  • A beginner
Stretched image in product details - help!!
« 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9777
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Stretched image in product details - help!!
« Reply #1 on: February 12, 2020, 12:18:23 pm »
It will be your template ...  have u asked the template developer?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Branso

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Stretched image in product details - help!!
« Reply #2 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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2996
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Stretched image in product details - help!!
« Reply #3 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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Branso

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Stretched image in product details - help!!
« Reply #4 on: February 12, 2020, 16:44:30 pm »
So I wrote css object-fit: contain;
It worked.
Maybe it will help others ...

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 641
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Stretched image in product details - help!!
« Reply #5 on: February 13, 2020, 07:13:00 am »
Quote
Maybe 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 from products, orders and database table
Virtuemart Email Manager - customs email templates

Branso

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Stretched image in product details - help!!
« Reply #6 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.

Branso

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Stretched image in product details - help!!
« Reply #7 on: February 13, 2020, 11:19:28 am »
Quote
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.

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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4362
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Stretched image in product details - help!!
« Reply #8 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.