add width and height to uploaded photo body