The child and the dog were best of friends so the boy wanted something to memorable so they took pictures