hmmm...if you mean making the image a hyperlinked object using simple html code, yes. i.e.:
<a href="linkedpage.html"><img src="images/picture.jpg"></a>
That will cause the rollover the image to be a live link, that when clicked, goes to the lianked page.
If you're talking about something other than that, I have no idea.
what Id like to do is place lets say a graphic ad lets say ad1.png on 100 pages without having to change it on 100 pages just upload a new ad.....
is there a way to do this?
so each time I change the ad I dont have to go into a 100 pages....is there a way to do this?
I know google makes it easy for us....but Id like to do some independent ads ones I choose.
is this somthing that is even possible?
You don't need an image embedded in a link but a Search&Replace utility to quickly change text in hundreds of pages. Google it; there is a lot of free apps.
If you have php on your server (or any kind of service side scripting for that matter):-
..... in the body of the page where you want the ad to go, instead of the IMG HTML code, then create a new file, myad.php, and put the HTML code in there.
When you need to change the ad, you just change the code in the myad.php file and job done.
.... in the body of the page where the ad is to go, then create a new file on the server called myad.js and put this in it:-
document.write('<a href=""><img src="image.jpg></a>');
All above code off the top of my head and may need cleaning up and syntax checked etc.
Why would you not create a new graphic and just call it the same as the old one? If you have 1.png, archive it as 1_1.png. Then make a new graphic and call it 1.png and drop it on to the server in the same location. Now all references to 1.png will not have to be changed and the new graphic will show up.
If you want to go back to the first graphic, archive the second calling it 1_2.png and change 1_1.png back to 1.png ad finitum.
I believe he wants to also change the link as well so just changing a graphic makes no difference..
an include file in php seems like a decent option..
find and replace in dreamweaver also works..
Flash would do it..
seems to me CSS should be able to cope with that also but never tried it..
Just top of my head stuff, I'd probibly go for an include..
Regarding ad management, try searching the web for terms php & adserver - there should be a open-source ad server packages ready for installing.
If you are not a coder
do a Google for SSI (Server Side Include)
but your pages will need to get a new extension
instead of HTML it will be SHTML
As such you will need to also to do a whole bunch of redirect to make sure that your HTML_OLD will point to the new one.
Hi, you can NOT embed a hyper link into the binary data of a graphic such as jpg, bmp and gif.
This is for two main reasons (from my point of view),
a> Security. When you give the image format a chance to execute something like code or a hyperlink you are essentially creating a gap from which exploits may arise. Do you remember the WMF exploit recently?
b> Relevance. An image file is that *just an image* if you want to move to a format which allows code to be executed in a rich media environment. Try Flash.