set image captions hidden until images are loaded