fix error when image within article cannot be loaded