While on my exchange in Finland, my friends from other countries and I took many pictures. We wanted to share pictures, but most of them didn’t know how to use a computer so well. Some burned CDs with pictures and sent them to everyone but it was a lot of work!!! So my friend Camre from Turkey made a script that allows people to easily download all of the pictures from any photoset in flickr. But his script wasn’t working anymore on his server, so I decided to make a new one. I was looking for a simple flickr library, and I found one in Oberkampf, it’s easy and very configurable.
My objective was to make a script that, when you set a user, it would show all of his photosets, and when clicking on one of those, it would make a list of the photos linking the photo to the maximum size on flickr. So, using a download manager (in Firefox, I used Flashgot and FlashGet) you could simply download all the pictures in max size from a photoset.
I made a lot of changes to the code to get to this. The script is working fine, so I decided to release it on the internet, making it available to everyone.
Download the latest version of the script from here.
To install the script on your server, you have to upload all files to the same dir, and create a folder called “cache” with the chmod “777“.
You also need to add the username in $config[‘username’]=””;
For example: $config[‘username’]=”pasteler0″;
If you want to show your private photosets, you can set the email you are using on your flickr account in $config[’email’]=””; or your flickr password in $config[‘password’]=””;
If you want to change the style, you simply edit the flickr.css file.
How do I download the pictures?
When you select the photoset, the script will create a list with a link to all photos in the set with a bigger size available. Having flashgot installed, you right click and select the option “Flashgot all“. After that it will open in the download manager you have configured.
The pictures have strange name, how do I fix this?
These names are the original names in flickr. You can change the name of the file to the title as a bunch using Flashget.
After you have downloaded all pictures, go to the Download Folder in Flashget, select the files you want to change the name,Right Mouse -> Rename -> Comment as Filename and you are done!
- You can find this script working on my pictures here.
- Remember that it is not legal to download pictures without the permission of the owner/photographer, this script shouldn’t be used to steal pictures.
Hope you enjoyed this script. If you liked, have any question or advice, please, just leave a comment.