Set photo display to 'inline-block' rather than 'block'.