Batch Download of Photos From Flickr Based on Their Tag
For the FOSS.my event, I wanted everyone to tag their photos with foss.my or foss.my 2008. Because this makes it easier to easily see FOSS.my buzz as it happens on Flickr!
A Tale of Sucky Wordpress Plugins
I was looking for a plugin to grab Flickr photos by a specified tag, so that we can use it in the foss.my gallery. Though there are many Flickr plugins for Wordpress, there was none catered to my requirements. Unable to find a solution, I thought it was quicker to hack one myself.
So this script just expanded from there, and I quickly had a Flickr batch downloader.
Note: There are several requirements:
- Download phpFlickr, and unzip it to the same directory as the script.
- You need to obtain a Flickr API key.
Use the source
Running it
It’s just as a simple as:
php download.php
Sample Results:
Available 492 ..................[trim]............ Downloaded 0 / 492
It even comes with a -v flag, so you can view what files are being downloaded.

