Iâ€™ve been lately noticing more and more people on twitter using URLs with the flic.kr domain as short ULRs for their pictures on flickr so I decided to do some research and find out how they did this.
It turned out that the short URL of every picture is provided by flickr and is included in the HTML code of the flickr page page itself.
To find out the code to your picture here is what you should do
Open the flickr page of your desired picture, e.g. http://www.flickr.com/photos/akhater/3188623049/
N.B.: make sure not to include any /in/set-xxxx in the URL, for e.g. http://www.flickr.com/photos/akhater/3188623049/in/set-72157600048927403/ will not work, you should stop before the in/set-xxxx part
Right click â€“> View source
Now search for the â€œflic.krâ€ string you should find something like
<link rev="canonical" type="text/html" href="http://flic.kr/p/5RLwxt" >
I think you guessed that you only need to copy the red part of the code above, this is your short flickr URL
Now if you happen to use firefox and Greasemonkey you will only need to download and install this script that will display the current photo's flic.kr link on the page. A worthwhile script to be added Top 10 greasemonkey scripts for flickr.
More on flickr shortening service