I would suggest this : put the images in a directory that is not accessible from your Web server. Then, when people can access images, with PHP, you open one of the files, read the content, and show it.
Example :
Your Web server root :
C:/Apache/HtDocs/
Your images files :
C:/Apache/Private/images/
PHP script :
<?
header("Content-type: image/gif"); // depends on your images gif? jpeg? png? bmp? ...?
$filename = "C:/Apache/Private/images/image_name.extension";
$fp = fopen($filename, "rb");
echo fread($fp, filesize($filename));
fclose($fp);
?>
With that script, don't output anything else !
EDIT : corrected some mistakes...