Bookmarklets for Flickr Images ∞
I have managed to cobble together a couple of bookmarklets that might be of use to other people who use flickr. They provide one click links to get the html code to embed the small or medium sized images in another page or Flickr comment.
Drag the following links to your bookmarks toolbar flickr small or flickr medium. Please only use on photos where you have permission to link to the image; either your own, or those under a Creative Commons type licence. This may not work for you, I have only tested in Safari 4, or Flickr may change and break this at any point in the future.
For those who are interested, the javascript code is below, which was based upon code by Xenocryst @ Antares Scorpii in the Flickr API group and the Flickr Full-Size Bookmarklet.
javascript:void((function(){
var m=window.location.href.match(/^https?:\/\/[^/]*\bflickr\.com\/(photos\/[^/]+\/(\d+))/i);
if(m&&m.length&&m[2]) {
fid=parseInt(page_p.server.substr(0,1))+1;
prompt('Small image link for:"'+m[1]+'":',
'<a href="http://www.flickr.com/'+m[1]+'" title="'+page_p.title+'">
<img src="http://farm'+fid+'.static.flickr.com/
'+page_p.server+'/'+page_p.id+'_'+page_p.secret+'_m.jpg"></a>')}
;})())
Minor update on 19 Jan, adding image tag which I missed out