Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to download all images in a web page. The tool should be smart enough to examine the css and javascript files in the page source to look for the images.

Ideally, it should also replicate the folder hierarchy, saving the images in the correct folder. For example, the web page may have some images for menu items stored in images/menu/ and for background images it may be stored in images/bg/.

Is there such a tool that you know of? (preferably in Windows but Linux is still ok)

Many thanks to you all.

share|improve this question
Please note that it would be impossible to do a 100% reliable job at this when arbitrary JavaScript is involved. Or for that matter, if any of the image URLs invoke server-side code (CGIs or whatnot) instead of just returning the same static image every time. – Spiff May 26 '10 at 20:22
up vote 1 down vote accepted

wGet for windows can recursively download a site. It should keep your folder structure. You may need to delete the html files after getting everything, but IMO, it's very easy to use.

use the "-r" flag to recursively download a site. e.g. wget -r

Here's a brief tutorial on site downloading.

share|improve this answer

If you are using Firefox, then the following add-ons will help:

Save Images

saves the images from the current tab page, from the cache, to a specified location, with either the images original file name or a file name that you specify. The size, dimensions and types of images saved may be chosen, with options if the file size is unknown or if duplicate files are found. Images may be either saved from the current tab, left or right of the current tab or from all tabs.


This is a well-known add-on, possibly used together with DownThemAll! AntiContainer.

AntiContainer is an extension and framework to DownThemAll! which allows the user to download resources that are normally hidden behind container pages.

For instance almost all so called "one-click" image hosters, such as imagevenue, use such container pages. AntiContainer enables DownThemAll! to download the actual images there instead of just the page.

share|improve this answer

Another option would be to use a web spider such as WebReaper with a filter to only download .png, .jpg, .gif, etc. However, some sites block web spiders, so be aware.

share|improve this answer

Check HTTrack Website Copier.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .