Sort your Flickr photostream

Flickr has a limitation that your photostream is ordered by the date you uploaded your photos, and this order can’t be changed. If you’ve done a big import of photos – say, from iPhoto – then they could show up in your photostream in any order.

There’s been some talk about the issue, with one suggested solution being to manually set the ‘posted’ date of every photo to the ‘taken’ date. A utility exists to do this, but it has some major limitations, including a difficult user interface and limitation that causes the process to fail if you have any photos that were taken before the date you set up your Flickr account.

So, I’ve made a utility specifically for sorting a Flickr photostream. It should be fairly user friendly, and provides the ability to backup and restore your photo metadata, in case you ever want to revert.

Check it out here: SortMyPhotostream, or get access to the SortMyFlickrPhotostream source.


Leave a comment below if it’s useful to you.

, . Bookmark the permalink. Both comments and trackbacks are currently closed.


  1. J Gilbert
    Posted June 10, 2013 at 2:53 am | Permalink

    Thank you so very much for providing this service. I could not find your site for a few weeks and really missed it. I appreciate all of your hard work and time spent on creating this tool.

  2. g
    Posted August 30, 2013 at 10:10 pm | Permalink

    Sorry to see that you’ve retired SortMyPhotostream. Any chance you’d release the code so that it could be used elsewhere?

  3. Posted September 4, 2013 at 2:23 pm | Permalink

    I want to do a gallery on my site’s footer like this site. ( Is it possible with this plugin? Someone can help me?

  4. Simon
    Posted November 7, 2013 at 1:09 pm | Permalink


    I’m having trouble using this, encountering this error – is this because my Flickr collection is too big? Be cool if you could let me know, as the sort by upload the sucks!

    Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache Server at Port 80

    • Posted November 7, 2013 at 11:12 pm | Permalink

      Hey Simon,

      Hm, yeah, it sounds like you might be exhausting the server memory. Might be just too many photos to be able to process with this script!

  5. jan
    Posted November 22, 2013 at 8:00 am | Permalink

    hi, tried your script yesterday and encountered an “internal server error” again and again. downloading a backup worked fine. am i doing something wrong or are there any known “issues” at thist time.

    LG Jan