Remote sites
Piwigo offers the possibility to use several servers to store the
images which will compose your gallery. It can be useful if your gallery is
installed on a limited space and you have a huge quantity of images to
show.
- edit file tools/create_listing_file_local.inc.php,
by modifying 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 distant website, in the same directory as your category
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 panel, Categories, Site
manager. Ask to 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 distant request to
generate a distant file listing
- synchronize : reads the distant listing.xml file and synchronizes with
database information
- clean : removes distant listing.xml file
- delete : deletes the site (and all related
categories and elements) in the database