reduce the size of the images