This is simple. Just use an anchor to the image file. Here's an example...
<A HREF="Portrait.gif">My picture</A>
The web browser understands that when it encounters a GIF file, it needs to start up whatever application
you've defined to handle that type of file. A common tool on UNIX workstations is "xv".