fix photo dimentions