Enhanced template to include image and link in anchor tag