there are 2 ways to redirect
1) headers
2) a redirect via the html file (meta refresh/java/whatever)
1 will not work, as headers for the page are already sent. you cannot redirect the site once the page is loaded, since headers are already received. if you redirect via a header for the image, lets say to
http://www.site.com/, then
http://www.site.com will be img src'ed.
2 will not work, as since the tag is <img..>, the browser will interpret any data sent as the image; and not as html