This creates an image which links to a page and can be used as follows:
{{linkedImage|Gasvesicle.jpg|Main_Page}}
Resulting in: