added width and height to photos