debugging photo view