I've seen people do the self-hosted route such as Nextcloud, and people commonly suggest Immitch, but I think these solutions are at least partially about the love to tinker and self-host first, and useful photo sharing second. It's hard to beat the Apple and Google solutions and their polish and low-friction sharing. The price/GB is superior to what I can self-host, and there's no tinkering required.
How are you taking these photos in the first place? If it's iOS or Android, why not stay in those ecosystems? Being sentimental and a bit of an organizer, I've ended up as a bit of a digital archivist, and found my family actually engages and shares back more when I just use Google Photos.