PDA

View Full Version : Browse by date edited


tom
02-25-2008, 07:29 PM
Hello,

I've recently started using Pixel Post, which I think is a fantastic product. I'm slowly working out all of the behind the scenes bits and pieces (it's been a while since I've played around with anything like this).

I had a query though, which I couldn't seem to resolve - apologies if it's been discussed before. I couldn't see that it had.

I'm adding a number of images retrospectively - photos taken weeks or months or years ago. While I want it to be mainly a chronological diary, I also would love the facility to browse by actual date added/edited, rather than exif date, and offer that as an archive view for others to see.

Is this possible? Thanks in advance for your help.

Tom

austriaka
02-25-2008, 07:43 PM
sorry, right now there is no such possibility. You have to decide on upload if you want to set the publishing date to "exif date" or to "now" or to a date you specify yourself. You can also set the order of images by Title or by publishing date, but this will always apply to the whole blog.

Only thing I could imagine is to write an addon which gives you the possibility to show the images sorted by ID (which is corresponding to the order they have been uploaded, no matter of chosen date). So you could publish your images by exif date and give your visitors the possibility to see them in order of publishing, at least in browse page.

Viewing by exif date without exifdate=publishing date is rather complicated since the EXIF data is stored as a serialized string in database and it is not possible to read it out and set the order in Mysql on that. Sorting it after reading and unserializing the whole list by PHP would be very slow.