Fixing problem with displaying images.