[wp-trac] [WordPress Trac] #17485: Sort Order by Date in WP Gallery resorts to order by ID

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 19 14:52:16 UTC 2011


#17485: Sort Order by Date in WP Gallery resorts to order by ID
-----------------------------------+-----------------------------
 Reporter:  nrajesh                |       Owner:  dd32
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  Future Release
Component:  Gallery                |     Version:  3.1.2
 Severity:  normal                 |  Resolution:
 Keywords:  3.3-early westi-likes  |
-----------------------------------+-----------------------------

Comment (by azaozz):

 Replying to [comment:13 westi]:
 > I think in general upload time and creation time for photos are not the
 same.
 >
 > I think more people upload photos they took hours/days/weeks in the past
 than upload to WordPress straight from there camera.

 Right, didn't explain this well. When taking photos the camera saves the
 files with sequential names. Later when transferring the photos to a PC or
 uploading them directly from the memory card they are still sorted in that
 sequence and they are usually uploaded in the same sequence. So the upload
 time is not the same as creation time, but the sequence is usually the
 same.

 > We can do that ... but ... sort by date the photo was taken is more
 useful to a Photoblogger than sort by upload time.

 Agree, but currently we support sorting by upload time, we would need to
 correctly describe that.

 I would like to see sorting by EXIF data in core too. Furthermore we have
 a GSoC project that is replacing the uploader, think it will be possible
 to pass the file creation times while uploading too. That could be used to
 sort images that do not have EXIF data. My only remark is that this seems
 out of scope for this ticket and we will be better off opening a new one.

 @scribu was answering at the same time as you, sorry to repeat what you're
 saying :)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17485#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list