[support] generating square thumbnails

Xavier Bestel xavier.bestel at free.fr
Mon Feb 11 19:09:59 UTC 2008


On lun, 2008-02-11 at 13:42 -0500, Randal wrote:
> At 1:26 PM -0500 2/11/08, Earnie Boyd wrote:
> >Quoting Xavier Bestel <xavier.bestel at free.fr>:
> >
> >> On Mon, 2008-02-11 at 07:45 -0500, Earnie Boyd wrote:
> >>> Quoting Xavier Bestel <xavier.bestel at free.fr>:
> >>>
> >>> > No solution ?
> >>> >
> >>>
> >>> Use CSS.  Add width and height parameters for img for the class.
> >>
> >> Do you mean trying to fit a rectangular image in a square ? Won't that
> >> distort it ?
> >>
> >
> >Probably.  What are you looking for?  Can this search [1] help or [2]?
> >
> >[1] http://www.google.com/search?q=resize+image+site%3Adrupal.org
> >[2] http://www.google.com/search?q=resize+img+php
> 
> 
> Of course he doesn't want to distort the image!
> 
> The fact this sort of thing is not really easy to do is one of the
> BIGGEST stumbling blocks to average users and especially designers
> using Drupal. This should be one of the most basic and simplest things
> to implement and use in the program.

Apparently I have 3 solutions (with typical Drupal results):

- use CCK+imagecache+imagefield. But then I can't use acidfree anymore
(and I must migrate all photos and albums, img_assist and other stuff
won't work anymore - out of question).
- use image_exact. This looks like the perfect solution, except that it
doesn't work (it can't resize existing images, doesn't work with mass
import and fails as soon as you change your image settings)
- wait for mmedia (Media Manager) to become ready, because from the
description it's everything I need.

I don't doubt there are other solutions (it's Drupal), including rolling
my own code, but I didn't find anything easy to deploy, and working.
Yet.

	Xav




More information about the support mailing list