Download and save images from a page using cURL
Here is a set of functions that can be very useful: Give this script the url of a webpage, and it will save all images from this page on your server.