Solves problems with images and captions