Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ Displaying an image from another site

Posted by: jontait2002 Sep 27 2006, 08:38 AM

Hi, how would I go about displaying an image on my site using HTML that exists in another site? I would like to have the image displayed on my site and when a user clicked on it, it would send them to another site, but I've no idea how to do it

Thanks in anticipation of your help

Jon
P.S> Go easy on me, very new to HTML!

Posted by: Dominico Sep 27 2006, 08:58 AM

Hey man
I think i get your gist
All you would do is copy that picture and place into your own page then add a link to it such as;
<a href="http://www.you.com"><img src="name.gif"></a>

try that, sorry if its no help im new ish myself too tongue.gif

Posted by: pandy Sep 27 2006, 09:40 AM

You use the full URL to the image.
<img src="http.//example.com/image.gif"... >

Note that if the other site isn't yours and they don't explicitly encourage others to use their images this way it's considered bad practice to do to. They may also very well prevent "hotlinking", as this is called, and in this case you will get nothing or maybe another image than the one you expected, an image that makes you look bad.

Posted by: jontait2002 Sep 27 2006, 10:12 AM



Thank you both very much for your help! biggrin.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)