cleanup of images.inc.php