The Leaning Tower of Pisa and the perfect photo