modified the img.php .minus the key and bucket