Fixed get_photo break for only one image