Re: Ansel::listGalleries()

Ben Chavet <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
>> The images are connected to the galleries by having a field 
>> containing the name of the gallery they are a member of.  If the 
>> gallery you move is a sub-gallery of any other gallery, the name of 
>> that gallery will change from
>> parent1:gallery to parent2:gallery.  In this case, we would have to 
>> update every image in the gallery to reflect the new location of the 
>> gallery.
>
> Ah, you're right. It'd be much simpler if we just stored the
> datatree_id in that
> field, since that would never change - that way the move would be automatic.

I started to mess with this & ran into a snag.  Images are stored in 
the vfs in
a directory structure that reflects the gallery tree.  If we were to move a
gallery, we'd have to move the images in the vfs, too.

This, plus the idea of making an image "bucket" with pointers makes me 
think we
should re-evaluate the vfs directory structure.  I though of just having
everything in the .horde/ansel directory, but that would be a lot of data in
one directory.  Another thought was to have .horde/ansel/full,
.horde/ansel/thumb, and .horde/ansel/screen directories.

Any other thoughts?

--Ben
-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.