Posted on January 28th, 2008 at 9:04 pm.

Tags: , , , , ,

LATEST COMMENT: Jazz Biscuit » Blog Archive » WikiCraic and BlogCCSearch fixed said [...] (what is it?) and WikiCraic (what is that?) are now back [...]

Creative commons flickr image search and embedding

Creative commons flickr image search and embedding cats!

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.

Never heard of creative commons? Check out creativecommons.org or the wikipedia entry.

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!


Digg this! Digg this article

5 Responses


  1. Damien Mulley » Blog Archive » ● Fluffy Links - Tuesday January 29th 2008 at 5:57 am on 1/29/08

    [...] nerdy. SoggyJazzbiscuit made an nice plugin that allows you to find creative commons photos (mostly they allow free use) on Flickr and provies code so you can embed them on your blog or [...]

  2. Alex Leonard at 12:11 pm on 1/29/08

    That’s something I’ve been wanting to do for a while (but lacked the knowledge!). I’m not sure if you’ve ever come across Vox at http://www.vox.com. They have quite a nice interface for inserting images, videos and more into a blog post, allowing you to search open systems, or interact with your own accounts on Flickr, Photobucket etc.

    It’s definitely something I’ve been thinking about for a while, not just from a convenience point of view, but also from an XHTML compliant point of view. Embedding videos correctly into a WordPress post is just not going to be possible with the current state of TinyMCE and I think will need a plugin.

    There is one for YouTube, but I think more development of this area is needed. If only I was better at php…

  3. admin at 1:43 pm on 1/29/08

    Hi Alex, thanks for the comment! TinyMCE for wordpress is ridiculous; I have it disabled and see no point to it for anyone bar complete novices. It’s slow and clunky and plays with the HTML.

    I didn’t know there were such issues with YouTube embedding for wordpress. That’s interesting. I’ve never made a wordpress plugin myself, so I’ve no idea right now how much work what you are suggesting would be. Though from the editing of Wordpress templates, which is all fairly logical, I’d say it wouldn’t be too hard.

    So what we’re looking for is a plugin that allows you to pick a service, and then search that service and then embed into a blog post, all without manipulating code? Interesting! I might have a look around later for what’s available and what could be done. I’ll look at Vox too, just took the tour, it looks interesting.

  4. Jazz Biscuit » Blog Archive » It’s a Jazz shaped interweb at 8:10 am on 2/20/08

    [...] Sabrina Dent is a web designer with a web site that almost looks as cool as Jazz Biscuit’s. She pointed out some flaws in the way the super incredible awesome amazing BlogCCsearch engine dealy was working, in that it wasn’t linking to the attribution creative commons license as it should. So I fixed the thing earlier. Don’t know what I’m talking about? OMG, like, hello? [...]

  5. Jazz Biscuit » Blog Archive » WikiCraic and BlogCCSearch fixed at 8:17 am on 3/6/08

    [...] (what is it?) and WikiCraic (what is that?) are now back [...]