[ansel] Patch for setting order on image upload

Ben Chavet ben at chavet.net
Tue May 11 23:09:35 PDT 2004


> 1) stores the current time() in the 'date-uploaded' attribute for future
> use (like a page of the last X images uploaded).

Are you sure you want a gallery to have the 'date-uploaded' attribute?  
I would
think it would be more useful on an image.

> I did notice that a
> 'date-created' attribute was being set in the Gallery.php code, but I
> haven't traced it through to know if that's reliable for uploaded time
> or if anything else might change that value... if it's reliable, then
> just remove this part of the patch (3 lines)

The 'date-created' gallery attribute should be reliable.

--Ben


More information about the ansel mailing list