resized error image and added text