Keeping order in photo gallery

2010-08-20 Thread Jack
Hi, I'd like to know the best way to keep order in my photogallery. I upload a new photo and I want it to display between the third and fourth photo. There can be a field 'order' and contain numbers. I can display photos by 'order'. Sounds good. But when I try to put a photo somewhere in the

Re: Keeping order in photo gallery

2010-08-20 Thread cricket
On Fri, Aug 20, 2010 at 8:14 AM, Jack jacz...@gmail.com wrote: Hi, I'd like to know the best way to keep order in my photogallery. I upload a new photo and I want it to display between the third and fourth photo. There can be a field 'order' and contain numbers. I can display photos by

Re: Keeping order in photo gallery

2010-08-20 Thread Nabil Alsharif
One thing you could do is use a next_photo_id field and chain the photos one after the other, just like a linked list. On Fri, Aug 20, 2010 at 12:11 PM, cricket zijn.digi...@gmail.com wrote: On Fri, Aug 20, 2010 at 8:14 AM, Jack jacz...@gmail.com wrote: Hi, I'd like to know the best way to

Re: Keeping order in photo gallery

2010-08-20 Thread Jeremy Burns | Class Outfit
Or you could use the Tree behaviour? That has reordering and moving built right in. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 20 Aug 2010, at 21:20, Nabil Alsharif wrote: One thing you could do is use a next_photo_id field and chain the photos one