Img Link

liunx

Guest
How do i create it so that an image is a link to another page??<!--content-->Just wrap your <img> tag in an <a> tag.<br />
<br />
Eg:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"newpage.html"><img src="yourimg.jpg"></a><!--content-->Thakns :D:D:D<br />
<br />
But next question is do you know a free web site that host pictures so i can drag them off and put them on my own site because the msn communities and geocities seem to mess the pictures up when i copy them the pictures break, any help on that one?<!--content-->What I think you are trying to do is called "hot linking". E.g. you want to store (host) pictures on domain A, but your website in on host Domain B. You then want to link your pictures from domain A and have them show up on Domain B.<br />
<br />
It is quite common for webhosts (even the ones you pay money to) to prevent hotlinking. This is because images, movie files etc are some of the highest taxing elements when it comes to bandwidth and storage space (a text page does not take up much of either).<br />
<br />
Most webhosts will not allow you store photos / images if they are not used by our webserver as they are not interested in just being the repository.<br />
<br />
There is commercial websites that acts like 'picture' briefcases, e.g. storage units but you often have to pay and you will get a bandwidth and a storage limit. You may have to check carefully, however, because even free 'photoalbums' like photos.yahoo.com recycle the links so you can not depend on it for hot linking.<!--content-->One small, but important, addition to what Kenneth has said is that you're also breaking the law linking to those pictures or copying and pasting them on your site. You are not the copyright holder and unless you have specific permission to use those pictures then you are effectively stealing them.<br />
<br />
Neil<!--content-->
 
Back
Top