Thumbnail size

  • RFreund
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #16220 by RFreund
Thumbnail size was created by RFreund
How do I control the thumbnail size using this template and virtuemart2.0.x?

It seems virtuemart will resize the image thumb if the image has not yet been resized. Does this work with this template? I see the CSS is set Height = auto and width = 90%.

I would like all product images to be the same size. I tried to delete images in the resize folder then had vm resize them to a certain size. When I 'Inspect Element' I can see the resized image has been created and named with the size that I want, however the image still displays at the old size.

Any thoughts on this?

Thanks again!

Please Log in to join the conversation.

More
12 years 9 months ago #16239 by ivan.milic
Replied by ivan.milic on topic Re: Thumbnail size
VM admin -> Configuration->Configuration-> Templates tab then in "Media Files Settings" parameters group yo have what you need.

Please Log in to join the conversation.

  • RFreund
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #16245 by RFreund
Replied by RFreund on topic Re: Thumbnail size
That is where I was setting the size but it was not changing the size displayed only the name.

Note that these are existing images (preupgrade). I deleted the old thumbs in hopes that VM would create the new thumb. VM creates a new thumb with correct name but it does not display at the correct size.

Please Log in to join the conversation.

More
12 years 9 months ago #16250 by ivan.milic
Replied by ivan.milic on topic Re: Thumbnail size
Maybe you have width/height property from css that re sizes image, send us link

Please Log in to join the conversation.

  • RFreund
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #16268 by RFreund
Replied by RFreund on topic Re: Thumbnail size
I believe the CSS is changing the size.

Link crazyhotcouture.com/rings
Check out the name of the image vs the actual size.

CSS appears to be
Height = Auto
Maxwidth=90%

Thanks again

Please Log in to join the conversation.

More
12 years 9 months ago #16292 by ivan.milic
Replied by ivan.milic on topic Re: Thumbnail size
Hi ,

open:
Code:
http://crazyhotcouture.com/components/com_virtuemart/assets/css/vmsite-ltr.css

, find this, note that is in one line and it's kind hart to read:

.browse-view .row .product .spacer img, .related-products-view .row .product .spacer img {
max-width: 90%;
height: auto;
}

delete max-width: 90%;

Please Log in to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum