Get pictures in the source code of a web page

As we know, we can get the source code of a web page with Firefox. I'd want to get the pictures in the page via the source code. Is there a way for it? Or any addons of Firefox to achieve it? Thanks a lot.


Solution 1:

There is a good add-on for Firefox named DownThemAll! that allows to download any media on a page by filtering with a regular expression. Apart from that, this question is not programming-related.

Solution 2:

In Firefox, without any add-ons: menu Tools » Page Info (Command-I on a Mac), tabsheet Media. This also gives you a Save As button for media that cannot be right-clicked on the site itself.

Firefox Page Info

If for some reason some tabsheets are not showing at all, then you might need to Refresh Firefox. (In my case this once happened as it was having problems signing in to Sync, showing things like NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPK11Token.initPassword] in Tools » Web Developer » Browser Console. A refresh fixed that.)