changed the format of images