Trackback2Flickr (version doh!)

Note: I took the download link down because there was one crucial step I forgot to list.  I’ll revise this and repost it in a few days after I figure out the workflow for that step.

If, like me, you have tons of pictures on your Flickr.com account which you use on your blog, you probably want more integration between the two pages. More specifically, I wanted a trackback to my flickr page every time I linked to a picture from my blog.

Enter Trackback2Flickr.

Example of Trackback2Flickr

What is it?
Trackback2Flickr will post a description to each flickr photo page which gets mentioned in your WordPress blog entries. The post will include a link back to the blog entry.

What do I need?
A wordpress blog, a flickr account with a flickr username, and photos.

(installation instructions after the jump)

Installation:

  1. unzip the file
  2. open trackback2flickr.php
  3. locate this line (should be line 30) and replace it with your own username in quotes:
    $flickr_username = 'YOUR_USERNAME';
  4. save the file
  5. upload the trackback2flickr directory (includes trackback2flickr.php and the phpFlickr directory) to your WordPress plugins directory (typically under wp-content/plugins/)
  6. activate the plugin your wordpress plugin manager

Usage:

(The first time you publish an entry with flickr photo links, you’ll be taken to an authentication page which will ask to allow this plugin to post updates to flickr for you.  Give it permission to.)

Each time you publish an entry with image links to your flickr photos (ie: http://www.flickr.com/photos/YOURUSERNAME/1234123434), the plugin will change that photo’s description into a link back to the corresponding blog entry.

Extra:

This plugin was made possible by phpFlickr. Without it, I would have had to write an ugly method to authenticate to flickr myself. That would have been ugly.

Question/Comments/Suggestions? Leave me a comment here.

Related Posts with Thumbnails

Comments

Leave a Reply

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