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.
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)
- unzip the file
- open trackback2flickr.php
- locate this line (should be line 30) and replace it with your own username in quotes:
$flickr_username = 'YOUR_USERNAME';
- save the file
- upload the trackback2flickr directory (includes trackback2flickr.php and the phpFlickr directory) to your WordPress plugins directory (typically under wp-content/plugins/)
- activate the plugin your wordpress plugin manager
(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.
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.
do it within another trackback enough times and i’ll get vertigo.
awesome. i am definitely using this!
Oops, I totally missed a crucial step in the setup process. I took the d/l link down in the meantime.