[ansel] Patch for setting order on image upload

Heath S. Hendrickson heath at outerspaceconsultants.com
Wed May 12 19:54:57 PDT 2004


Ben Chavet wrote:

>> 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.
>
That's what I meant... just wansn't clear I guess.

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

But it's not getting set, so I'm not sure what's going on.  Is it set 
for any of the images in your galleries?

h


More information about the ansel mailing list