[wp-trac] [WordPress Trac] #21643: Uploaded media should keep alphabetic order

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 26 20:07:50 UTC 2012


#21643: Uploaded media should keep alphabetic order
--------------------------+------------------------
 Reporter:  tar.gz        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Upload        |     Version:  3.4.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  close         |
--------------------------+------------------------

Comment (by tar.gz):

 Replying to [comment:10 azaozz]:

 > When uploading multiple images the upload order also depends on how the
 image files are displayed and sorted in the OS (top to bottom and left to
 right).

 Indeed, this influences the order in which the files are sent from the OS
 to the browser. I assume that many people have their GUI sorted by file
 name, with 001.jpg on top and 006.jpg on bottom. That explains why the
 001.jpg is received "first" by WP, and ends up at the bottom with the
 current system.

 > A much better sort order for photos/JPEGs would be by the EXIF creation
 date. That should probably be the default sort order for galleries.

 Maybe, but we must also assume that many images are stripped of EXIF
 information. Since our digital cameras today are taking pictures in the
 15-20 megapixel range, people will often resize them in a batch operation
 before uploading them. During that operation ("save for web"), the images
 typically loose the EXIF data but keep the same file name (and they may
 have their time stamps reverted, or put in random order...). So when there
 is no EXIF information, the sequential numbering of the files seems to me
 the most reliable way of figuring out the "correct" order.

 PS: I notice that there's [http://make.wordpress.org/ui/2012/07/30/media-
 wireframes/#comment-22395 a discussion about the media management
 overhaul] going on at make.wordpress.org/ui, so I propose that we continue
 the discussion there, as long as we aren't contributing patches.

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


More information about the wp-trac mailing list