GALLERY: 49ers lose in heartbreaking fashion to Giants