News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Big image problem in detail window

Started by Midhat, June 19, 2012, 15:48:57 PM

Previous topic - Next topic

Midhat

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

#1
Quickest solution - add this to your CSS:

.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

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Artanis

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