reduce the size of the photos