Remote site
PhpWebGallery 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 one limited space and that you have a big quantity of images to
be shown.
- edit file tools/create_listing_file.php,
by modifying parameters section such as
$conf['prefix_thumbnail']
or
$conf['use_exif']
.
- place file tools/create_listing_file.php
modified on your distant website, in the same directory than your category
directories (as the directory galleries of
this website) by ftp. For the example, let's say that you can access http://example.com/galleries/create_listing_file.php.
- go to administration panel, General, Remote
sites. 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
- update : reads the distant listing.xml file and synchronizes with
database informations.
- clean : removes distant listing.xml file.
- delete : deletes the site (and all related
categories and elements) in the database.
You can do all this by hand by generating yourself the listing.xml file, moving it from your distant server
to you local PhpWebGallery root directory and opening the remote site
management screen : PhpWebGallery will propose you to use the found
listing.xml file.