Add resizing during photo upload.