nanostudio-org / nano_photos_provider2

PHP photos provider for nanogallery2
https://nanophotosprovider2.nanostudio.org/
47 stars 12 forks source link

contentFolder outside nano_photos_provider2 folder doesn't work #48

Open vm75 opened 3 years ago

vm75 commented 3 years ago

First of all, thanks for a great tool. It is super powerful.

I am not sure if I am missing some step here. I am running nano_photos_provider2 in a nginx+php docker. Path of nano_photos_provider2: /config/www/nano_photos_provider2 If albums are inside /config/www/nano_photos_provider2 and I set contentFolder = "albums", it works as expected. If albums are in /config/www/albums and I set contentFolder = "/config/www/albums", it generates thumbnails/data as expected, but shows only blurred images and image file are not found. I looked at the errors and the images are being fetched from: https://example.com/nano_photos_provider2/config/www/albums/album1/photo1.jpg and Error 404 is seen.