novafacile / novagallery

novaGallery - a beautiful and and ease to use php image gallery for your photos - flat file - no database required - modern responsive design
https://novagallery.org
GNU Affero General Public License v3.0
74 stars 11 forks source link

Different folder for pictures #32

Open Villantiqua opened 1 year ago

Villantiqua commented 1 year ago

First of all: thank you for Novagallery: very beautiful layout. Maybe I missed it, but is it possible to point to a mounted folder, containing the folder structure of the pictures, other than the ‘galleries’ folder? I couldn’t find it in the config file.

Benman2785 commented 1 year ago

havent looked into it but should be possible - i guess you have to use full address then.

so instead of "/galleries" you have to use "https://your.url.tld/your-sub-folders/galleries"

david-novafacile commented 1 year ago

To avoid file access right problems the images are in a subfolder of novagallery. The webserver need write access. If your are common with this, you can mount your folder into an own subfolder instead of galleries. e.g. mymountedfolder and change the images dir name in the config with

"imagesDirName": "mymountedfolder"

But you have to config your server, that the webserver can write to the mounted folder.

To use an other caching folder is currently not supported. But this is a good idea for a future version.