Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Flickr EXIF Decorator

Hover over a photo on Flickr to get an unobtrusive translucent overlay in the top left corner showing meta data including camera model, aperture and shutter speed.

Hover over a photo on Flickr to get an unobtrusive translucent overlay in the top left corner showing meta data including camera model, aperture and shutter speed.




Oct 30, 2007
Bekir Dogan User

Hi;
This script doesn't work for my private pictures, because it use developers key for api calls.

Flickr has it's wown API call methot in loaded JS. So i changed some parts of the script tu use this builtin function, and removed GM_xmlhttpRequest.

Here is the diff, and now it also works for my private pictures.


bekir@hede:~/.mozilla/firefox/32ba1h2c.default/gm_scripts$ diff -u flickrexifdecorator.user.js-orig flickrexifdecorator.user.js
--- flickrexifdecorator.user.js-orig 2007-10-30 11:55:06.000000000 +0200
+++ flickrexifdecorator.user.js 2007-10-30 12:02:41.000000000 +0200
@@ -70,16 +70,10 @@

photo_id = location.pathname.split('/')[3];
var img = document.getElementById('photoImgDiv' + photo_id);
-
- GM_xmlhttpRequest({
- method: 'GET',
- url: 'http://api.flickr.com/services/rest/?method=flickr.photos.getExif'
- +'&api_key=45d5d4b7dff9bc653c8eb3e73271c10c'
- +'&format=json&nojsoncallback=1'
- +'&photo_id=' + photo_id,
-
- onload: function(responseDetails) {
- var data = eval('(' + responseDetails.responseText + ')');
+ var listener = {
+ flickr_photos_getExif_onLoad: function(success, responseXML, responseText, params){
+ var rsp = responseText.replace(/jsonFlickrApi/,'');
+ var data = eval(rsp);
var exif_array = data.photo.exif;
var exif = new Array();
var rawexif = new Array();
@@ -220,5 +214,6 @@
img.addEventListener('mouseover', mouseOverListener, false);
overlay.addEventListener('mouseout', mouseOutListener, false);
}
- });
+ }
+ unsafeWindow.F.API.callMethod("flickr.photos.getExif",{photo_id:photo_id, format:"json"}, listener)
}
bekir@hede:~/.mozilla/firefox/32ba1h2c.default/gm_scripts$

 
Oct 23, 2007
BlindWanderer Scriptwright

On line 73 this needs to be added so it doesn't throw errors on other pages:
if(!img) return true;

 
Jul 13, 2007
bitrot Scriptwright

Tagging seems to be back up now!

 
Jun 12, 2007
Simon Whitaker Script's author

Yeah, the tagging thing is a real shame, I searched for ages trying to figure out how to add tags before coming to the conclusion that they must be disabled right now. Hopefully they'll be back before long.

 
Jun 7, 2007
TeknoMusicMan User

Great Script!

 
Jun 4, 2007
dirgon User

Disregard my message about tagging. I just found out that tagging is currently disabled.

 
Jun 3, 2007
dirgon User

To the author... add a "flickr" tag to this script show it will show up when doing a tag search.

 
Jun 1, 2007
Aleksandar D... Scriptwright

Clara, searching for flickrexifdecorator.user.js file (located inside gm_scripts folder), deleting it and installing it again should do the trick.

 
May 30, 2007
Clara User

I uninstalled and can't install again, please help. See the error here:
http://tam-tam.tumblr.com/post/2686209

You could comment on this script if you were logged in.