How to re-size product image

Fashion and clothing responsive Joomla ecommerce template with full VirtueMart support and advanced store features.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Jul 22, 2014 2:20 pm
Reply with quote
Report this post
Hello all,

I am wondering if someone can help please.

I am looking at resizing the height of a product image - http://kankotri.co.uk/kankotri/indian-w ... tri-detail

The image for some reason hasn't re-sized. When looking at the other images, the height looks very good - http://kankotri.co.uk/kankotri/indian-w ... tri-detail.

For some reason for the first product, the image seems to be very long.

Any ideas?

Thanks in advance,

Prit
User avatar
Gold Boarder

GK User
Tue Jul 29, 2014 10:47 am
Reply with quote
Report this post
The image will always will the width of the area and the problem is that your image width is small but height is several times bigger. Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
.productDetails .main-image img, #product-tabs-content > div.active { max-height: 350px !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Platinum Boarder

GK User
Tue Jul 29, 2014 11:02 am
Reply with quote
Report this post
As always - worked perfectly!

Thank you very much! :D
User avatar
Gold Boarder


cron