Added onerror for image.