Fixed a problem with images