mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 06:14:54 +02:00
350f16f692
git-svn-id: http://piwigo.org/svn/trunk@12286 68402e56-0260-453c-a942-63ccdbb3a9ee
18 lines
1.6 KiB
HTML
18 lines
1.6 KiB
HTML
<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 » Tools » 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>
|