resized all photos to a certain size
changed sizing logic