[dev] Re: [cvs] commit: ansel/lib Gallery.php

Ben Chavet ben at chavet.net
Tue Oct 19 14:16:40 PDT 2004


I think the best solution would be to standardize on using either ID or 
name to
reference an image or gallery.  I don't remember why I didn't enforce 
that when
I was working on the backend, but certainly we could manage it.

If I had to choose, I would probably go with using ID's just because they have
less potential of being too long to remember.

   http://www.example.com/ansel/image.php?image=12345

      vs.

   http://www.example.com/ansel/image.php?image=ashasug45uagq340afht342sak430

Thoughts?

--Ben

Quoting Duck <duck at obala.net>:

>
> The last change to Gallery.php that produses a lot of errors when adding an
> image. Seems that not all the data are applied at this stage when
> Gallery::addImage() is called.
>
> I'd don't know if the patch is the right solution but at least works for me.
>
> Duck
>






More information about the dev mailing list