I installed Single PHP Gallery from the Software list, but I wanted to know if there´s a way for Single PHP Gallery to display pictures I have in mnt/ext/pictures
Right now all the pictures must be in folders under var/www/gallery/
I guess PHP Gallery is not capable for this. However you could try to create a sym link from inside /var/www/gallery/Folder pointing to /mnt/ext/pictures. But I’m not 100% if this will work
Thanks again Joulinar, the link didn´t work after all. I was searching on the index.php file and found this config:
define('GALLERY_ROOT', './');
Set the path of the gallery root, where the images and sub directories containing images is placed.
I modified that path to my mnt/ext and seems ot be working, for some reason CPU usage is pretty high, but maybe it´s because it´s generating all the thumbnails.
option('GALLERY_ROOT', './');
Set the path of the gallery root, where the images and sub directories containing images are placed.
The default value is './' which is the directory where the script is placed.
If GALLERY_ROOT is set to an absolute path and SHOW_FILES is set to TRUE, then a symbolic link called "_sfpg_download" will be created in script directory. This link gives web access to the GALLERY_ROOT, enabling download of files.
IMPORTANT: GALLERY_ROOT should always end with a slash like the examples below.
Example 1: './images/'
Example 2: $_SERVER['DOCUMENT_ROOT'].'/gallery/images/'
Example 3: '/users/bob_the_user/wwwroot/images/my_pictures/'
I thing this option could be on dietpi www software option.