bpatrik / pigallery2

A fast directory-first photo gallery website, with rich UI, optimized for running on low resource servers (especially on raspberry pi)
http://bpatrik.github.io/pigallery2/
MIT License
1.78k stars 204 forks source link

Hide hidden (dot) files/folders for private/archived photos #803

Open Gremious opened 9 months ago

Gremious commented 9 months ago

Pigallery mirrors filesystem directories, so it would be nice if it also hid dotfiles/dotfolders by default, with a button to show them.

They should still be shareable via sharelinks - this should be just a nice simple way to implement private or archived photos, so that they don't clutter, or show up when accessing pi-gallery around people.

Off the top of my head, I'm hoping it's as simple as "if the path to this files contains an item starting with a dot, don't show it unless a setting is flipped".

Rickkwa commented 9 months ago

I had a similar request for unlisted directories in #661