Img resize

	fixed getPhotos to send width/height/photoID/fileType in a single object