[Zope] FS Photo product

Ron Bickers rbickers-dated-991773254.7cded5@logicetc.com
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.


Ron Bickers
Logic Etc, Inc.

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Peter
> Bengtsson
> Sent: Thursday, May 31, 2001 11:58 AM
> To: zope@zope.org
> 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.