added photo width and height in Photo model