aboutsummaryrefslogtreecommitdiffstats
path: root/language/en_UK/help/site_manager.html
blob: 2794eedf41e25576ca3e7ae00485c1bf2e5d5759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<h2>Remote sites</h2>

<p>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.</p>

<ol>
  <li>Edit the file <span class="filename">tools/create_listing_file_local.inc.php</span>, by modifying the parameters section such as <code>$conf['prefix_thumbnail']</code> or <code>$conf['use_exif']</code>.</li>
  <li>Using FTP, place the files <span class="filename">tools/create_listing_file.php</span> and <span class="filename">tools/create_listing_file_local.inc.php</span> (modified) on your remote website, in the same directory as your album directories (as the directory <span class="filename">galleries</span> of this website). For example, let's say that you can access <span class="filename">http://example.com/galleries/create_listing_file.php</span>.</li>
  <li>Go to Administration &raquo; Tools &raquo; Site manager. Create a new site, for example <span class="filename">http://example.com/galleries</span>.</li>
  <li>A new remote site is registered. You can perform 4 actions:
    <ol>
      <li><strong>Generate listing:</strong> launches a remote request to generate a remote file listing</li>
      <li><strong>Synchronise:</strong> reads the remote <span class="filename">listing.xml</span> file and synchronises with database information</li>
      <li><strong>Clean:</strong>removes remote <span class="filename">listing.xml</span> file</li>
      <li><strong>Delete:</strong> deletes the site (and all related albums and photos) in the databas</li>
    </ol>
  </li>
</ol>