#1. We will have a dedicated domain on which we'll upload images in an image folder named "image" #2. Whenever one tries to make HTTP call for any image from that folder - it should trigger one of our PHP code first and then send the image as response later. Inside the php code, we should see which image is being called and then print the name of that image.   Above wil be handled by manipulating .htaccess file [this is the file which http server checks first before sending any response] as mentioned on the article given above.