Batch Download Pictures from sites like Smugmug

Martin Brinkmann
Jan 28, 2008
Updated • Dec 15, 2012
Firefox, Firefox add-ons
|
6

I would like to introduce an easy way to download lots of pictures from websites that name them sequentially, meaning they simply add a number and maybe some chars to every new picture added. Smugmug for instance uses one directory /photos/ on their website and puts all pictures, or at least links to them in that directory. All pictures look like number-M.jpg which makes it very easy to use a script to download all pictures within a certain range.

I'm going to use the Firefox extension Batch Download to download the pictures from a site like Smugmug. The CEO of Smugmug said that it was intended behavior that the private pictures at Smugmug were still publicly available which I do find a little bit odd but who am I to complain ?

Install the Batch Download Firefox extension and restart Firefox afterwards. Open the options of Batch Download afterwards, this can be done by right-clicking a blank space in Firefox and selecting Batch Download from the menu.

The Base Url is the url of the photo directory at Smugmug, in our case it is http://www.smugmug.com/photos/(*)-M.jpg. The Wildcard is the numeric part of each image that changes with each unique image. We define that part below. Since it consists only of numbers we use the numbers from 1 which would be the image 1-M.jpg to 10000 which would be image 10000-M.jpg.

Batch Download would now scan the directory photos at Smugmug for all images between 1-M.jpg and 10000-M.jpg, which means a total of 10000 images will be scanned. If an image is found it will be downloaded to the directory you specify at the bottom in the form entitled Download Folder.

The numbers that you enter are arbitrary. You could start by 10000 instead and end at 96000. It takes of course longer to download the images if you select huge numbers. This technique can be used for many different websites who save their images - or other files like videos - this way. It is furthermore possible to start over at a certain number where you stopped.

There are some ways of blocking Batch Download. The easiest way would be a referrer check which would ensure that only visitors from the same website would be allowed to download the files.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. oabcxp said on January 12, 2010 at 7:14 am
    Reply

    The link to firefox extension doesn’t work. Is there alternative one? Plz———————————

  2. SmugTug said on April 27, 2009 at 7:28 am
    Reply

    Batch Download looks cool, but SmugTug [http://smugtug.com/] lets you bulk/batch download a SmugMug photo gallery without the hassle of having to install any software on your computer or in your browser.

  3. Thinker said on January 28, 2008 at 6:59 pm
    Reply

    Bad link do Batch Download.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.