enhanced for troubleshooting URLs that are passed into image.php