Creative commons flickr image search and embedding
Damien Mulley made a post yesterday asking for a wordpress (a really good blogging platform - it powers Jazz Biscuit too) plugin that would allow him to find creative commons licensed images and upload them to his blog.
After WikiCraic, I thought why not? So after a few hours yesterday I had BlogCCSearch. (The entertaining names part of my brain takes Sunday off.)
It uses the flickr api to do a search for photos, but only returns those licensed with the attribution licence type. [ More info on flickr & creative commons licences. ]
Once it returns the little thumbnails of the search results, you can click on an image and it’ll provide you with embed code for sticking the image on your blog and also a preview so you can see what the image you chose will look like at the size you picked.
It’s written in PHP so I was able to use the fantastic phpFlickr, a php class that handles all the XML parsing and communication with the actual API.
It’s hacky and it was literally thrown together, but so what. It’s fun!


5 Comments »