attempt # 13 resizing photos