Piwigo

Photo gallery software for the web, built by an active community of users and developers. (Source Code).

selfhosted
Yes
Live Preview
Piwigo