Go to this Example

PHP Retrieve Image Demo