Files and Folders: Remote Picture Grabber Muhammad Arfeen (contact me)
This class can be used to retrieve and serve remote image files.
It can retrieve an image file from a remote site and serve for download as the current script output.
The class determines the type of image analyzing the contents of the image file and generates the correct Content-type header for the respective image type.