I am working on a website. It is basically a movie database working with the help of IMDB. I I use images from their server, on localhost I\'m able to display them. However, whe
You get a 403 response for the image, this means IMDB says it's forbidden to use images like that. You should probably check their Terms. I'm not a lawyer though, consult one if you think you need one.
The reason you don't get one locally can only be speculated to: it's going to be due to the logic they have in place for determining whether you can grab the image or not. My guess would be that their logic can't reliably distinguish your site running locally and just a regular browser request for the image (e.g. when you're browsing imdb.com).
Simple answer: IMDb does not allow image hotlinking.
When you request the file from the server end, it detects it and blocks your request.