Hi, Erin;
The problem is that EE’s gallery doesn’t read EXIF data by default, so there is no orderby option for this. If you’re showing EXIF data it’s probably via Low’s plugin, or another solution I haven’t seen yet. =)
It may be possible to add the orderby= using an extension, otherwise yes, a query might be best, and you’d need to use the query in combination with Low’s plugin. But it will definitely require custom code.
There are requests, already, for EE to be able to handle EXIF data, so you might find one and add your support.
If I understand things properly, I would use this extension hook to get the exif data and set the date?
Following up:
I finally found some EXIF code that didn’t error out on my Canon-produced images. I wrote an extension that reads the EXIF data and changes the entry’s entry_date to set it to the EXIF original date. This allows me to sort on entry_date and have it be the proper sort.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.