[dev] ansel vfspath question

Chuck Hagenbuch chuck at horde.org
Wed Sep 22 19:31:37 PDT 2004


Quoting Duck <duck at obala.net>:

> Is there a special resion to store images in the way
> <ansel.vfs.dir> . substr(<imageid>, -2) / <view>/<imageid>.type?

Many. See the list archives.

> I was thinking about a more clean naming, special in large installations.
> <ansel.vfs.dir> /<username>/<galleryid>/<imageid>/<view>.type
>
> In this way the admin have a clean representation of images
> ownersinp/gallery. And for example deleting an image, gallery, or users
> gallery would be easer. And of course in very large installation in system
> friendly to not have thousand of files in the same directory.

username and galleryid don't always have that parent-child relationship, and
this would make it much harder to deal with moving images between galleries.

-chuck

--
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list