The girl wanted to take photos for her husband, but something went wrong