Hello/Hi/Greetings,
where piwigo save uploaded files ? are they saved in database? or in location directory ?
can i change image file directory of piwigo ?
Please help
?
Offline
Uploaded images are saved under Piwigo's upload/ directory. You can change it in your local config (using [extension by Piwigo Team] LocalFiles Editor), the default is
$conf['upload_dir'] = './upload';
Note it must be a path relative to the Piwigo directory.
Online
Originals are saved in upload in a date structure upload/{year}/{month}/{day}/
Derivatives, i.e. different file sizes, are saved to _data/i/upload using the same scheme.
You can change the location by adding to your config file in local/config.inc.php
$conf['data_location'] = '_data/'; $conf['upload_dir'] = './upload';
You can also link using ln -s in your shell. Google it.
Last edited by Zentalquabula (2021-05-28 12:50:29)
Offline