VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: panoss on August 31, 2016, 11:45:35 AM

Title: Frontpage catecories images: how to display normal instead of thumb nail?
Post by: panoss on August 31, 2016, 11:45:35 AM
In my frontpage I display my categories with the image of each category.
The problem is that it's the thumbnail image that is loaded and not the 'normal' one.
So when I enlarge the image with css, it's not clear, it's blurry because of it's low revolution.

I thought of changing the thumbnails resolution (I guess there must be some setting in VM), but isn't there some way to show the 'full resolution' image?
Title: Re: Frontpage catecories images: how to display normal instead of thumb nail?
Post by: jenkinhill on August 31, 2016, 12:31:05 PM
You can create larger thumb images by changing the settings in VM Configuration/Templates/Media Files Settings

Or to use the "full size" image you can edit and override components/com_virtuemart/sublayouts/categories.php

Thumbs are used on pages where there are likely to be a lot of images to reduce bandwidth & load time, and help avoid slow load penalties from Google.
Title: Re: Frontpage catecories images: how to display normal instead of thumb nail?
Post by: panoss on August 31, 2016, 13:10:13 PM
Quote from: jenkinhill on August 31, 2016, 12:31:05 PM
You can create larger thumb images by changing the settings in VM Configuration/Templates/Media Files Settings
That's what I did, I have 24 images in the front page, I set 'Thumbnail Image Height' to 550 (checked 'Enable Dynamic Thumbnail Resizing' ), I suppose I 'm approved by Google :).
Thank you jenkinhill.