1 | <h2>Remote sites</h2> |
---|
2 | |
---|
3 | <p>Piwigo offers the possibility to use several servers to store the |
---|
4 | photos which will compose your gallery. It can be useful if your gallery is |
---|
5 | installed on a limited space and you have a huge quantity of images to |
---|
6 | show.</p> |
---|
7 | |
---|
8 | <ol> |
---|
9 | |
---|
10 | <li>edit file <span class="filename">tools/create_listing_file_local.inc.php</span>, |
---|
11 | by modifying parameters section such as |
---|
12 | <code>$conf['prefix_thumbnail']</code> or |
---|
13 | <code>$conf['use_exif']</code>.</li> |
---|
14 | |
---|
15 | <li>using ftp, place the files <span class="filename">tools/create_listing_file.php</span> |
---|
16 | and <span class="filename">tools/create_listing_file_local.inc.php</span> (modified) |
---|
17 | on your distant website, in the same directory as your album |
---|
18 | directories (as the directory <span class="filename">galleries</span> of |
---|
19 | this website). For example, let's say that you can access <span |
---|
20 | class="filename">http://example.com/galleries/create_listing_file.php</span>.</li> |
---|
21 | |
---|
22 | <li>go to <span class="pwgScreen">administration panel » Tools » Site |
---|
23 | manager</span>. Ask to create a new site, for example <span |
---|
24 | class="filename">http://example.com/galleries</span>.</li> |
---|
25 | |
---|
26 | <li>a new remote site is registered. You can perform 4 actions : |
---|
27 | |
---|
28 | <ol> |
---|
29 | |
---|
30 | <li><strong>generate listing</strong> : launches a distant request to |
---|
31 | generate a distant file listing</li> |
---|
32 | |
---|
33 | <li><strong>synchronize</strong> : reads the distant <span |
---|
34 | class="filename">listing.xml</span> file and synchronizes with |
---|
35 | database information</li> |
---|
36 | |
---|
37 | <li><strong>clean</strong> : removes distant <span |
---|
38 | class="filename">listing.xml</span> file</li> |
---|
39 | |
---|
40 | <li><strong>delete</strong> : deletes the site (and all related |
---|
41 | albums and photos) in the database</li> |
---|
42 | |
---|
43 | </ol> |
---|
44 | </li> |
---|
45 | </ol> |
---|
46 | |
---|