When the content of an anchor container is text, that text gets underlined as the hyperlink.

Wildebeest Wiki Page

To make an image into a link, simply put the img element as the content of the anchor, instead of text. Yes, it's that easy.

Angry Wildebeest