Remote sites
Piwigo offers the possibility to use several servers to store the photos which will fill your gallery. It can be useful if your gallery is installed on a server with limited space and you have a huge number of images to display.
- Edit the file tools/create_listing_file_local.inc.php, by modifying the parameters section such as
$conf['prefix_thumbnail']
or $conf['use_exif']
.
- Using FTP, place the files tools/create_listing_file.php and tools/create_listing_file_local.inc.php (modified) on your remote website, in the same directory as your album directories (as the directory galleries of this website). For example, let's say that you can access http://example.com/galleries/create_listing_file.php.
- Go to Administration » Tools » Site manager. Create a new site, for example http://example.com/galleries.
- A new remote site is registered. You can perform 4 actions:
- Generate listing: launches a remote request to generate a remote file listing
- Synchronise: reads the remote listing.xml file and synchronises with database information
- Clean:removes remote listing.xml file
- Delete: deletes the site (and all related albums and photos) in the databas