using javascript and html it would look like this
<script type="text/jscript"> function Changetheimage() { document.getElementById("img1").src = "imagefoldername/Imagename2.jpg"; } </script> </head> <body> <a onclick="Changetheimage()">click here</a> <img src="imagefoldername/Imagename1.jpg" id="img1" alt="" />
Notes: "Img1" must be replaced with the id of the image you want to change "imagefoldername/Imagename2.jpg" in the javascript must be changed to the directory of the new image you want to display and "imagefoldername/Imagename1.jpg" must be changed to the image currently displaying