[ansel] Ansel::listGalleries()

Ben Chavet ben at chavet.net
Mon May 10 07:39:50 PDT 2004


> I thought of that right after I sent the email.  So, what has to happen
> if I move a sub-gallery in the current design?  The gallery has to get a
> new parent, but the images themselves don't need any changes, do they?
> Aren't they just connected to the containing gallery?

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.

--Ben


More information about the ansel mailing list