Blog Pile

New! Improved! With Extra Sheen! Flickr CC Attribution Helper

cc licensed flickr photo shared by jamelah

Mmm, sliced bread!

So far maybe 140 people have installed my Flickr Creative Commons Attribution Helper– a GreaseMonkey script for Firefox. I use the sucker almost every day.

It takes what used to be about a 5 click, 4 copy/paste operation to give me, in one motion, the HTML needed to embed a Creative Commons licensed flickr photo in my blog- and– the format is consistent every time.

But last week, a tweet from Alec Courous got me thinking, that there are times when you want an attribution string that is not HTML, e.g., when you are using flickr photos in say a presentation.

I took about 10 minutes to add that feature.

The new version 0.3 of my script at now adds a second text box that has an attribution string in text:


Either box is automatically select when you click it, so it is just a command-c away from being used.

The one piece is that maybe you want your attribution done a different way- mine is formatted like:

cc licensed flickr photo by Zzzzzz Zzzzzzzzz:

Hey, I had to choose something. If there is something better, please make suggestions, but you can also edit the script yourself! Just look under the Firefox Tools menu for Greasemonkey, then select Manage User Scripts. Select the script you want to edit… and click the Edit button (you may have to select a text editor; I use BBEdit Lite, but whatever you have for a plain text editor will do).

You will need to edit line 67, and it would help to know a bot of JavaScript for how it puts strings together:

And it is the last part that is the text version. You could do something shorter like:

or longer like:

Your mileage may vary.

So what do you think? This is way better than sliced bread! And its free!

If this kind of stuff has value, please support me by tossing a one time PayPal kibble or monthly on Patreon
Become a patron at Patreon!
Profile Picture for CogDog The Blog
An early 90s builder of web stuff and blogging Alan Levine barks at on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person. And he is 100% into the Fediverse (or tells himself so) Tooting as


  1. Great idea, Alan.. if i can work out how to use greasemonkey in chrome, i’ll have a go at using it ;-]

    .. you know about the photo dropper plugin for wordpress don’t you? Really useful if you’re looking for a generic theme-based image.. searches flickr creative commons for you, and adds link, licence etc. Your script brilliantly fills the gap when you already have a photo in mind.

    best regards, michael

  2. Thanks MIchael, I’m just a new born pup to Greasemonkey but it has incredible power to customize your web experience (Scott Leslie has done a lot in this area).

    I did play with photo dropper for a while, and while I did find it handy, the search interface of getting only 5 at a time and having to page through results was tedious, and it was hard to get a feel for an image from a tiny icon– it is so much more glorious to use where you can scan like 100 at a time.

  3. Alan,
    You rock (I’ve used the old version and I’m downloading this one)! And the citation person in me (after doing four chapters of citations in the textbook…I either claim some expertise or no expertise) wonders if you might consider the following in future versions (yeah, I’m not playing with GreaseMonkey scripts unless we’re both together at some CyberSalon):
    *access date (the date they grab the script)
    *name of the picture
    Lots of the citation guidelines want date of access on the internet because it can be so fluid.

Leave a Reply

Your email address will not be published. Required fields are marked *