[ansel] Ansel::listGalleries()

Chuck Hagenbuch chuck at horde.org
Mon May 10 07:47:34 PDT 2004


Quoting Ben Chavet <ben at chavet.net>:

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

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the ansel mailing list