I am trying to make a wicket link appear as an image instead of text. I am creating an external link and then placing it on the page.
add(new ExternalLink("link", url, "Page name"));
<a wicket:id="link"></a>
My problem is that I can't put the image in place of "Page name" because it will just set the html as text. I also tried to span a wicket id instead and it also is rendered as text. Can anyone help?