i think using echo '<img src="url/to/image"/>'; should display the image. if you want to make that image a link you should use: echo '<a href="your/link"><img src="url/to/image"/></a>'; of course, you can use print or echo to send the output to the browser