in reply to My CGI script keeps crashing IE (but not Firefox)

The problem is you haven't closed the anchor tag:

<a href="...">View High Res</a>

And to save a little backslashitis, you can do this:

print qq( <p> Text ... <a href="$link ...">View High Res</a> ... more ... </p> );

Regards,

PN5