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

Square thumbnail (resize and then crop)

Started by conejo, March 07, 2012, 12:25:06 PM

Previous topic - Next topic

conejo

Hi,

I´m trying to create thumbs without streaching, fill or center and they must be represent the whole picture!!!
Please take a look in my links:
Wished thumbs with the free extension phoca gallery:(perfect !!)
artshop.regio-sites.de/phoca

and the extraslider of smartaddons with the fit mode:
artshop.regio-sites.de/extraslider
Do some body knows how can I show thumbs which fill the defined size, do not change proportions and get almost the picture?

user: guest
password: guest

Take a look to the following topic: http://forum.virtuemart.net/index.php?topic=73146.msg243832#msg243832
QuoteThe idea here is if the image is NOT square, take the smallest dimension and reduce the image to your desired size (ie 120x120) and then crop the larger dimension to your desired size and create your thumbnail image.  So, if you had an image that was 480x240, it would be reduced to 240x120 and then cropped to 120x120 - so you always have a perfectly filled square thumbnail image instead of resizing and filling the background to make your square thumbnail.

Thanks