replace the link rather than the image