No photography is allowed inside of the Uffizi, but from the central connecting corridor between the two wings of the museum, you can take pictures outside.
This image shows the two wings of the museum, and you can see the dome of the Cathedral and the tower of the Palazzo Vecchio in the background.
The Uffizi was originally the offices of the Medici family in the 17th century.