homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

Embed url within an image
is this possible ?
Visit Thailand

 10:22 am on Aug 5, 2002 (gmt 0)

Is it possible to embed a url within an image which is to be used by other websites but housed on your own server, so that when someone sees the image it can be clicked to go to the url of choice ?

I should point out that while the image is served from our servers we would have no control over the html of the page where it is found. We therefore cannot ask the webmasters to add a link.

So I am wondering whether this can be done from my end ?



 10:27 am on Aug 5, 2002 (gmt 0)

No url in any images.

You could write a javascript file to send the work to their browser. All they would have to put in would be:

<!--... link--><script language="JavaScript" src="http://.../link.js></script>

You could then change all links to your site in one fell swoop. You could change the location or name of the graphic whenever you want. You could replace it with text whenever you want. You can put special offers there whenever you want and base them on the JavaScript time function. It will be a load on your server, however.

Visit Thailand

 10:34 am on Aug 5, 2002 (gmt 0)

Thanks but can't do that. Is there no way to tell the server that when X image is called that it should reach out and grab a html (image map) file and use that with the image wherever it is being used ?


 11:44 am on Aug 5, 2002 (gmt 0)

There is, but then when you request the graphic file it will take the html/js page, which will then try and get the graphic (but it won't because it will get the html page instead).


 11:57 am on Aug 5, 2002 (gmt 0)

You could do it with Flash. Don't have much experience with it but maybe a Flash expert will give you some advice.


 7:34 am on Aug 10, 2002 (gmt 0)

I also wish there would be a way. I hate it when people steal a picture from us by linking to our image file without any thanks or credits. And we get the bandwith usage! Beside writing in the image: visit www.oursite.com or simply re name it so their link becomes invalid, is there any thing else to do?


 4:56 pm on Aug 12, 2002 (gmt 0)

is there any thing else to do?

Not really. As long as the image is viewable in a browser, it is steal-able.


 7:24 pm on Aug 13, 2002 (gmt 0)

Just make a new image with the same name and have it say in big bold text "This picture was stolen from www.yoursite.com" :)

...or something to that effect.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved