Howdy,
this should work for you. Here is the PHP page (called image.php):
PHP Code:
<?php
$output = '<html><head></head><body bgcolor="#000000">';
$output.= '<div align="center"><img src="'.$_GET['filename'].'"></div>';
$output.= '</body></html>';
echo $output;
?>
and the link that opens the pic:
<a href="image.php?filename=
MYFILE.JPG" target="_blank">View this picture.</a>
Replace
MYFILE.JPG with the path & name of the image, e.g.
pic001.jpg or
images/PIC-002.JPG
cheers, hope this helps!