On Friday 11 May 2007 21:38, Elvelind Grandin wrote:

> > > perhaps writing a custom controller for serving the images and send
> > > the sizes along with the url like
> > > "/images/000001.png?height=100&width200" and do the resizing on
> > > the fly (with caching of course).
> >
> > The idea is good, but I still need to retreive the size of the
> > photo... And I don't know how to do that if the size is in the
> > template.
>
> Why do you need to retrieve the size?

To resize the uploaded photo, and make it fit exactly the size in the 
template (or to be contained in it, if ratios are different).

As I explained, navigators interpolators are very poor, and the result is 
ugly. I need to use a program like convert, PIL or so to have a good 
interpolation.

-- 
   Frédéric

   http://www.gbiloba.org

Attachment: pgp16gXP7Lr4W.pgp
Description: PGP signature

Reply via email to