defined var widthOfPhoto