Fixed bug with images.