Author Topic: Big image problem in detail window  (Read 314 times)

Midhat

  • Beginner
  • *
  • Posts: 8
Big image problem in detail window
« on: June 19, 2012, 07:48:57 AM »
Hi,
I have problem with big image in detail products window.
The big image is opened as a  background.
http://becart.ba/v2/component/virtuemart/belenzuke/belenzuka-detail?Itemid=0
What's wrong?

Artanis

  • Beginner
  • *
  • Posts: 32
  • Zusurs...
    • Animus Design Studio (coming soon)
Re: Big image problem in detail window
« Reply #1 on: June 19, 2012, 08:03:59 AM »
Quickest solution - add this to your CSS:

Code: [Select]
.main-image img {max-width: 300px !important; max-height: 400px !important;}
In general - it seems that You don't have any image resizer plugin installed in Your shop.
Look in Joomla extension portals - there are lot of commercial and non-commercial ones. As long as solution I gave above will work for all browsers including IE7+, image resizer plugin is must-have to reduce loading time of Your shop.
Animus Project - Design Studio
Running Joomla 2.5.6, Virtuemart 2.0.6a, PHP 5.3.10

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 16695
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Big image problem in detail window
« Reply #2 on: June 19, 2012, 09:30:07 AM »
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

It can save time if you mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Support for Joomla 1.5 has ended


Currently using VM2.0.21f on Joomla 2.5.11 PHP 5.3.17

Artanis

  • Beginner
  • *
  • Posts: 32
  • Zusurs...
    • Animus Design Studio (coming soon)
Re: Big image problem in detail window
« Reply #3 on: June 19, 2012, 10:10:37 AM »
My recommended solution with max-width instead of width is bit better - it allows smaller images to keep their apperance undistorted.
Animus Project - Design Studio
Running Joomla 2.5.6, Virtuemart 2.0.6a, PHP 5.3.10

VirtueMart Forum

Re: Big image problem in detail window
« Reply #3 on: June 19, 2012, 10:10:37 AM »