[Seaside] Re: Multiple versions of a image file

Lukas Renggli renggli at gmail.com
Sat Feb 16 19:38:12 UTC 2008


> Thanks for the quick reply. I guess I didn't express myself well when
> I used the word "versions". By versions I meant diferent
> representations, like thumbnails, for example. Currently, I'm
> generation them on-the-fly, but I'd like to keep then on the disk to
> make use of Apache static file support.

In this case a new subclass of MAFileModel is probably the easiest way
to go (I did something similar for a commercial project). You can tell
the file-description to use a different file-model class using the
#kind: accessor.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list