PHP Auto PhotoSwipe Gallery is a completely automatic and responsive image gallery on a single file.
Just upload the images, it will resize them and create all thumbnails.
You can also configure password protection with a shareable link.
https://github.com/dulldusk/php-auto-photoswipe-gallery