[Zope] FS Photo product
Thu, 31 May 2001 16:34:13 -0400
I started modifying the Photo product to use ExtFile/Image since my memory
was getting eaten by it. I ran into a few problems, though I mostly had it
working. It turned out, however, that my memory was being eaten because the
different photo sizes are stored as *strings*, not as Zope Image objects.
Each string was being loaded in full into memory before being served. That
eats memory fast.
I ended up modifying it to store the different displays as Zope Image
objects and my memory problem vanished (since Zope loads Images in pieces).
I also managed to fix another bug with regard to the dimensions getting
"randomly" messed up.
I haven't had time to make any official releases or patches available, but
I'll be glad to send them to you if you want to use it even without external
file storage. Perhaps I'll continue changing Photo to work with
ExtFile/Image someday, but don't hold your breath.
Logic Etc, Inc.
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of Peter
> Sent: Thursday, May 31, 2001 11:58 AM
> To: email@example.com
> Subject: [Zope] FS Photo product
> No this is not an announcment. Rather the opposite.
> I believe I've heard about a version of the Photo product that saves the
> images on the filesystem. Am I right, is there such a product? Where?
> My current problem is that my Photos in zope take are so big that I have
> problems copying folders and can with a little pain back it all up.
> I bet there are advantages with storing the big binary content on
> the Linux
> instead of the ZODB.