I want to redirect the user when he tries to show an image in his browser, for example when he put this URL: 

> 
> www.mysite.com/image.jpg
> 
> 
> 

he will be redirected to 

> 
> www.mysite.com/image.html
> 
> 
> 

but I do not want redirection done in my code when I call the image `<img src = 'www.mysite.com/image.jpg' />`