thibaud-rohmer / PhotoShow

A free web gallery in PHP with drag-n-drop support
http://www.photoshow-gallery.com
502 stars 151 forks source link

Overwrite on upload + raspbian Dockerfile #366

Closed astyonax closed 6 years ago

astyonax commented 6 years ago

Hi,

this is a PR for two features. Sorry.

  1. Optional overwrite on upload I added an option to overwrite old files with new ones when uploading. I find it useful because I usually prepare my albums incrementally. With this option active I do not have to remove potential duplicates. The involved files are AdminUpload.php, Settings.php, and default.ini. It's rather straightforward, IMHO.
  2. Raspberry PI Docker I added a folder with the setup to build a raspberry pi compatible docker image. In these images the website is served with https. If you do not like this last feature, you may simply delete the folder docker/raspbian-stretch after the pull ;)

I hope you like the new features enough to merge them! Nonetheless, all constructive comments are welcome!