The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Displaying an image from another site
jontait2002
post Sep 27 2006, 08:38 AM
Post #1





Group: Members
Posts: 2
Joined: 27-September 06
Member No.: 245



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!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Dominico
post Sep 27 2006, 08:58 AM
Post #2





Group: Members
Posts: 5
Joined: 27-September 06
Member No.: 246



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 27 2006, 09:40 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jontait2002
post Sep 27 2006, 10:12 AM
Post #4





Group: Members
Posts: 2
Joined: 27-September 06
Member No.: 245





Thank you both very much for your help! biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 11:14 AM