Welcome to WebmasterWorld Guest from 54.196.75.226

Forum Moderators: not2easy

Message Too Old, No Replies

Embed url within an image

is this possible ?

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 29, 2002
posts:1819
votes: 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 ?

gsx

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

Preferred Member

10+ Year Member

joined:Feb 20, 2002
posts:603
votes: 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.

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 29, 2002
posts:1819
votes: 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 ?

gsx

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

Preferred Member

10+ Year Member

joined:Feb 20, 2002
posts:603
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 27, 2001
posts:1472
votes: 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)

Junior Member

10+ Year Member

joined:Mar 10, 2002
posts:137
votes: 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)

Senior Member

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 6, 2000
posts:3928
votes: 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)

Full Member

10+ Year Member

joined:Apr 4, 2001
posts:224
votes: 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.