Glad Piwigo was mentioned. I’ve been self-hosting my own Piwigo site since Flickr changed their terms. Piwigo has plenty of extra functionality for location, faces, and much more. Bonus is the same hosting also carries my Drupal site, Hubzilla social site Webtrees family tree.