Added photo resizing algorithm
Photo looks better