catching http errors
Commenting the img file