How to make a thumbnail square?

Author Message

Noicokuna Niemoge

Wednesday 11 March 2009 5:25:35 am

Just as the topic says:

I'd like to center the source image in gallery thumbnail and make it square if the source image isn't a square. At the same time I'd like to retain proportions, meaning that somewhere in the thumbnail there will be added black or white space. How can I do this?

Shiki soku ze ku...

Jean-Yves Zinsou

Wednesday 11 March 2009 7:42:05 am

Hi there,

you should look at imagemagick options, and then define your options as an image filter in image.ini...

Hope this helps

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.