[Zope] FS Photo product

Peter Bengtsson mail@peterbe.com
Fri, 1 Jun 2001 09:46:00 +0200


At the moment I have no problem with the Photo metatype except that I can't
download my whole site and take it home to improve it because the Photo
album section is too big.
But if you think that many Image objects is performancly better than one
Photo object, maybe it is something I should look into.

> I also managed to fix another bug with regard to the dimensions getting
> "randomly" messed up.

What? What '"randomly" messed up [dimensions]'? Are the dimensions of the
different sizes not right? (honestly, a resize in a Photo is worse than when
you do it in Photoshop)

Peter

----- Original Message -----
From: "Ron Bickers" <rbickers-dated-991773254.7cded5@logicetc.com>
To: "Peter Bengtsson" <mail@peterbe.com>; <zope@zope.org>
Sent: Thursday, May 31, 2001 10:34 PM
Subject: RE: [Zope] FS Photo product


> 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.
>