Announcement

#1 2021-05-28 07:55:20

alinizamani72
Member
2021-05-28
2

where Piwigo Save its uploaded Files ?

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

 

#2 2021-05-28 12:41:21

erAck
Only trying to help
2015-09-06
985

Re: where Piwigo Save its uploaded Files ?

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.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2021-05-28 12:49:58

Zentalquabula
Member
2014-05-10
181

Re: where Piwigo Save its uploaded Files ?

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

Code:

$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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact