added loading-error class to image