aboutsummaryrefslogtreecommitdiffstats
path: root/language/ar_SA/help/site_manager.html
blob: 7005f567cc8af0834fc655cdac234fc9cec35d0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<h2>Remote sites</h2>

<p>Piwigo offers the possibility to use several servers to store the
photos 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.</p>

<ol>

  <li>edit file <span class="filename">tools/create_listing_file_local.inc.php</span>,
  by modifying 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 distant 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 <span class="pwgScreen">administration panel &raquo; Tools &raquo; Site
  manager</span>. Ask to 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 distant request to
      generate a distant file listing</li>

      <li><strong>synchronize</strong> : reads the distant <span
      class="filename">listing.xml</span> file and synchronizes with
      database information</li>

      <li><strong>clean</strong> : removes distant <span
      class="filename">listing.xml</span> file</li>

      <li><strong>delete</strong> : deletes the site (and all related
      albums and photos) in the database</li>

    </ol>
  </li>
</ol>