Recently while coding some grey hat websites, I came across the need to integrate photos into my application. I thought a while and got a great idea. Instead of using static pictures and uploading them to my host, why don’t I use flickr’s RSS feed and grab dynamic images based off of tags set by users.

BRILLIANT!

So I did a google search, and sadly someone already thought of my idea and made an open source php app for it. Instead of re-inventing the wheel, I downloaded his code and it worked like a charm! So here I am, yelling about it on my blog and you’re probably wanting to download the code.

Well, here it is!

First, you’ll need the RSS class magpierss available for download at sourceforge.

Secondly, copy and paste the code created by Eightface available in text format here.

Finally, follow the simple yet detailed instructions located in the comments on the flickrrss0.5 php file and you will have your website running with flickr images in no time!

If you have problems, please post intelligent questions in the comments.