Added image loading errors handlers