Given the Filename, Finding the Flickr Photo, photo.gne

Given a link like http://farm1.static.flickr.com/22/39727523_af63f401a8.jpg, you can get to the photo on Flickr at
http://flickr.com/photo.gne?id=39727523 .

http://farm1.static.flickr.com/22/39727523_af63f401a8.jpg http://flickr.com/photo.gne?id=39727523
http://farm1.static.flickr.com/22/[id]_[salt].jpg http://flickr.com/photo.gne?id=[id]  

Ment's Face On The Floor

I regularly find myself viewing a photo either hosted on Flickr or with that tell tale file name and no link to the photo. Unfortunately, sometimes without the photographer’s permission. A comment on the photo’s page in Flickr always seems appreciated.


It seems the salt, randomizing the file name, was added some time ago to discourage copyright infringements (image security). Specifically given a file name of a small version of an image, there is no way to guess as to the web address of the larger version.

Updated Aug. 24 changing photo_zoom.gne to photo.gne based on tip from Thomas Stache!

Updated Nov. 9th Came across Photo Source URLs which describes the construction of the file names in detail.

This entry was posted in Consuming, Web and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post.

7 Responses to Given the Filename, Finding the Flickr Photo, photo.gne

  1. adam says:

    clever! i’ve been looking for a way to do this for a while, either to find the source of a photo, or to see something a little closer.

  2. Mark Jaquith says:

    One other reason for the salt is privacy. Say I post a photo for “Friends” only. If I post the URL for that photo page publicly, without the salt someone could engineer the photo URLs for that photo. Photos aren’t protected by cookie/auth, so they’d get to see photos they weren’t supposed to see. So really, it’s acting as a cheap authentication method.

  3. Xsoft of pocitac.com says:

    Its same (familiar) with YouTube and preview images. There is 1,2,3 image (2nd is used) but if you onetimes know that hash_id (from videolink), then you can explore a bit more.

  4. Alopeica Areta of cure-for.info says:

    Sometimes I feel it’s unsafe to put up photos on the net. There are high chances that some unworthy people may modify it to meet their demand.

  5. Thomas Stache says:

    It’s even easier:
    use http://www.flickr.com/photo.gne?id=39727523
    to go directly to the photo page. Saves one click ;-)

    via http://www.flickr.com/help/forum/41252/#reply218608

  6. Pingback: GR[ae]YSCALE » Blog Archive » Image Search by Filename

  7. paul says:

    This doesn’t work of course for private images, otoh private images can be passed around by sharing the direct jpeg link. Also it only seems to work now with “photo_zoom.gne”

Leave a Reply

Your email is never published nor shared. Required fields are marked *

*

You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • 1