How to find the original Flickr Photo URL and User from a Static Flickr Image URL/Permalink (My priceless Flickr Tip)

flickr.jpgGot a link like http://farm3.static.flickr.com/2085/2177060015_258bcfaff9_m.jpg and want to find out which user posted it, more images by that user, see the full-size version, etc? Seek no longer, the answer is very simple!

The image we found

From the URL you’ve got take extract the image name (2177060015_258bcfaff9_m.jpg) and split it on the underscore. The first part is the photoID, the second part is the hash/salt and (if there) the third part the size (Full format: photoId_hash_size.jpg).

Now append that photoId to http://flickr.com/photo.gne?id= and *MAGIC* there you have it, the Original Flickr Photo URL (and the user) :) The example above would be transformed to http://flickr.com/photo.gne?id=2177060015

Cheers!

B!

UPDATE 2008.01.18 – In related matter these might be of interest too: Flickr Hack – All sizes for all pics & My most interesting (best viewed) Flickr pics (replace that ID with your own Flickr ID to watch yours ;) )

UPDATE 2010.11.07 – Bram.us visitor Robin Senior created a handy bookmarklet which does the job automagically. Drag this link to your bookmarks toolbar and click it whenever you have a static Flickr image URL open: Flickr Photo Page

UPDATE 2012.20.26 – Flickr itself has a detailed page explaining the Flickr full photo url format.

Another Dailie, Bramus!, Discovery Of The Day ,

36 Responses to How to find the original Flickr Photo URL and User from a Static Flickr Image URL/Permalink (My priceless Flickr Tip)

  1. Wolf says:

    Nifty… did you figure this out yourself or looked under the hood?

  2. Bramus! says:

    @Wolf: The Flickr FAQ & some good old “gezond boerenverstand” made something rumble … a look at the sourcode of a Flickr Photo Page verified it all ;)

  3. Here is an idea for you:

    You can’t link to your overall comments list, that works only for yourself (by using this url: http://flickr.com/photos_comments.gne), but you can link to your overall comment list by using its feed: http://api.flickr.com/services/feeds/photos_comments.gne?user_id=23767705@N04&lang=en-us&format=atom

    Now is there a way to display that as html?

  4. Michelle says:

    Wow. This is useful!

  5. Scott says:

    Google and Bram.us are rock-solid. I just searched for “see user behind static flickr” and bam… bram.us to the rescue once again.

    Cheers, you genius you. ;)

  6. Pingback: Week In Famo 7th Inning Stretch… | Internet Famous Class

  7. florian says:

    my keyword: “reverse flickr”

  8. LouCypher says:

    If you’re using Firefox, you can use this extension to get to Flickr photo page from context menu.

  9. Jason Ting says:

    Yet another Firefox plugin–adds “View Original Flickr Image” and “Download Original Flickr Image” options to the right-click context menu for any Flickr photo.

    http://snipurl.com/8v0ro

  10. Pingback: Netjackal Rants » Daily Digest for 2009-03-13

  11. Puttabong says:

    Thank you, Bram :)

  12. Pingback: Original Flickr Page from Static Image URL

  13. Pingback: An App for Finding Original Flickr Pages

  14. michael says:

    Thanks for the tip! I took this idea and make a really simple web add that users can bookmark:

    http://folksonomy.org/sandbox/findr/

  15. Pingback: Links of the Day

  16. Jayne says:

    THANKS! this is super helpful! I do a lot of reference image research at work and it’s great to be able to relocate the originals!

  17. Jay says:

    Hi there,
    Very useful, BUT: I just tried this with a photo and got the page “Ooops, you’re not allowed to see this” after log-in. How can I still find out the user who uploaded this pic?

    Cheers,

    Jay

  18. Pingback: How to Find the Flickr Photo Page from a Static Image URL

  19. Pingback: How to find the original Flickr Photo URL and User from a Static Flickr Image URL/Permalink (My priceless Flickr Tip) | External Brain

  20. Lee says:

    Anyone know whats the most recent hack available for downloading original sized flickr photos? Seeing as the ones above are two years old and no longer work :(

  21. Nicolas says:

    Thanks for this post! I found it while writing my first django app and decided to write a small ajax tool to convert the image link to the page as an exercise: http://www.nicolaskuttler.com/flickr-image-to-page/

  22. Nahid Valli says:

    Hello

    Hope you all are fine.

    I need help with getting the following code for my image in flickr. i want to use it in my html code.

    here is the format.
    http://farm{farm-id}.static.flickr.com/{server-id}/{id}_{secret}.jpg

    example:
    http://farm3.static.flickr.com/2085/2177060015_258bcfaff9_m.jpg

    i want this code for the following image:
    http://www.flickr.com/photos/aiesecintanzania/6194503105/in/photostream/

    please teach me how to get the:
    farmid
    serverid
    is_serverid

    thanks

  23. Bramus! says:

    @Nahid: As far as I know there’s no automatic way to do this. You can do it manually: at the flickr page, click on Actions > View All Sizes. Then right click the photo and copy its URL: http://farm7.static.flickr.com/6161/6194503105_49f444cf91.jpg

  24. Valerio says:

    Thanks, i really needed this one!!! I had an image but didn´t know where i got it..i had a txt file with the flickr static link!Greets from Italy

  25. Nicola Giosmin says:

    God (or any divinity at your choice) bless you eternally!

  26. Owen Wattley says:

    I know this is kinda spam… but I just made an app some people might find useful. It let’s you download your entire photostream, in original size, as a batch process. Please check it out here:

    http://www.myflickrbackup.com

    As it’s new, I’m happy to give out a few free license keys if anyone wants to test it out for me, please drop me an email: captain.o.dog AT gmail DOT com

  27. Pingback: Current Projects - Page 1089 - London Fixed-gear and Single-speed

  28. mimi says:

    bram . thank u so much for this info .. umm just wanderin . is there any tricks to view private flickr page ? .. thank u so much!

  29. Marko Pavlovic says:

    You are all silly guys, you can just go over in source code of picture and take
    the image url. In case you whant to do it whit a script, you can use curl / xpath
    methods to do it.

    So… don’t spam google whit noob comments pls, ty

  30. Pingback: How to Find the Original Flickr Image Permalink From Static Image URL | Noob Archive

  31. Pingback: How to Find the Original Flickr Image Permalink From Static Image URL | Noob Archive

  32. AlexW says:

    the bookmarklet is not compatible with “staticflickr.com” URL
    I modify the code and put the new bookmarklet here:
    http://blog.alexw.net/archives/2012/05/01/4409.php
    (Chinese site)
    Translate: http://goo.gl/zglRK

  33. Bingo! This is exactly what I needed to find the photographer of a photo I had bookmarked. Thank you!!!!!

  34. Pingback: Photo hosting sites - Flickr

  35. Pingback: Obtener URL de página de foto de Flick a partir de URL estática de la foto - Yvoictra Blog

Comments are closed.