Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - LightMart (SKU# FLEX-00012)

TOPIC: pictures distort the view of the product

pictures distort the view of the product 10 years 13 hours ago #9526

good afternoon

The product images do not resize well in the template and the deformed view of the product.


posicionamientowebenbuscadores.eu/tienda/almacen-b/ordenadores-y-servidores/pc-sobremesa/tv-led-sony-bravia-3d-42-kdl42w808-full-hd-smart-wifi-detail

test all images of this product and you will see how deformed
The topic has been locked.

pictures distort the view of the product 10 years 10 hours ago #9527

Hi,

I don't see any deformation on the pictures. If the aspect ratio of product pictures are not the same, it is normal if you have this kind tall (portrait) pictures, if this is what you were talking about.

The width value is taken into consideration. Our template don't resize the pictures, it just "limit" the sizes with the CSS "max-width" rule. So, the sizing is temporary, if you are not happy with the sizing limits, you can redefine your own max-width and max-height values through /templates/flexible_lightmart/css/virtuemart.css

Regards,
Support
The topic has been locked.

pictures distort the view of the product 10 years 1 hour ago #9529

Well, I think it would be better that way
I think it should to load different CSS tags to the small picture and the big picture.

  because if I set the max-height label in 300 px. The big picture also load the CSS and the image is the same size as the small picture

could help me fix it?
The topic has been locked.

pictures distort the view of the product 10 years 43 minutes ago #9531

Hi,

I am having difficulties to understand what exactly you want me to help for.
Because currently i don't see any problem in your website now.

Be more descriptive. You may take a screenshot from your website and point out the problematic section.


Attachment Pasted_Image_4_18_14__10_35_PM.png not found




Regards,
Support
The topic has been locked.

pictures distort the view of the product 9 years 11 months ago #9532

this


Attachment flex1.png not found



I would like to leave it at that


Attachment flex2.png not found



but when I put the big picture, look at its large size without deformas as here


Attachment flex3.png not found



I see that and so


Attachment fle4.png not found

Last Edit: 9 years 11 months ago by Miguel Manuel Rodriguez Roldan.
The topic has been locked.

pictures distort the view of the product 9 years 11 months ago #9554

Hi,

You can decrease the max-height rule.

Open this CSS file:
/templates/flexible_lightmart/css/virtuemart.css

and find this CSS rule:
.main-image img.product-image {
	max-height: 900px;
}

The above code limits the picture height at 900px (when the enlarge link is clicked)
You can decrease this number to 500px or something. So the picture won't be longer than 500px when gets enlarged. (the width will be calculated automatically to keep the aspect ratio the same)

If you like LightMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/LightMart

Rate LightMart and write a couple of sentences to share your experience with the support team.
It won't take more than 2 minutes from you but it is extremely important for us.

Thanks in advance!

Regards,
Support
Last Edit: 9 years 11 months ago by Support.
The topic has been locked.

pictures distort the view of the product 9 years 11 months ago #9578

if I do that, the height at the small picture and the big picture applies

I would like that only applies to the small picture
The topic has been locked.

pictures distort the view of the product 9 years 11 months ago #9589

Then use this CSS rule:
#FlexibleDetailsLeft.width100 .main-image img.product-image {
	max-height: 500px;
}

This CSS rule will only apply to "BIG" picture (after the EnlargeView link is clicked)

This CSS rule on the other hand:
#FlexibleDetailsLeft.width60 .main-image img.product-image {
	max-height: 300px;
}

Will only apply to product thumbnail. (the product picture before clicking the EnlargeView button)

regards.
The topic has been locked.

pictures distort the view of the product 9 years 11 months ago #9602

really good.

I've added this to do the effect.

thank you very much
The topic has been locked.

pictures distort the view of the product 9 years 11 months ago #9613

Sure, your welcome.

Case solved. Topic is closed.

If you like LightMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/LightMart

Rate LightMart and write a couple of sentences to share your experience with the support team.
It won't take more than 2 minutes from you but it is extremely important for us.

Thanks in advance!

Regards,
Support
The topic has been locked.
Time to create page: 0.095 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo