The short answer
Some children have privacy needs that are not obvious from their faces. A photograph can disclose a school uniform, a residence, a caseworker's badge or a relationship that the child and their carers do not wish to explain to visitors. Do not ask the child to describe private circumstances as proof that their objection is justified. Instead, identify the proposed viewers and ask a responsible guardian or carer about the relevant boundaries, while listening to the child in an age-appropriate way. Requirements may vary by situation; avoid making legal assumptions from the image alone.
What to consider
Choose a safer memory that does not reveal identities or circumstances, perhaps an authorised photograph of a handmade project, a pet or a neutral outing detail. Review captions and accompanying photos together: an apparently anonymous image can become identifying when paired with a name or a distinctive location. Do not circulate a sensitive original to distant relatives for opinions. Restrict access to source files, record only the minimum decision needed for the display and leave the proposed photo out if permissions are uncertain. The aim is preserving belonging without creating an unwanted disclosure.