[1080] | 1 | <h2>Remote sites</h2> |
---|
[858] | 2 | |
---|
[2342] | 3 | <p>Piwigo offers the possibility to use several servers to store the |
---|
[858] | 4 | images which will compose your gallery. It can be useful if your gallery is |
---|
| 5 | installed on one limited space and that you have a big quantity of images to |
---|
| 6 | be shown.</p> |
---|
| 7 | |
---|
| 8 | <ol> |
---|
| 9 | |
---|
| 10 | <li>edit file <span class="filename">tools/create_listing_file.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>place file <span class="filename">tools/create_listing_file.php</span> |
---|
| 16 | modified on your distant website, in the same directory than your category |
---|
| 17 | directories (as the directory <span class="filename">galleries</span> of |
---|
| 18 | this website) by ftp. For the example, let's say that you can access <span |
---|
| 19 | class="filename">http://example.com/galleries/create_listing_file.php</span>.</li> |
---|
| 20 | |
---|
[1889] | 21 | <li>go to <span class="pwgScreen">administration panel, Categories, Site |
---|
[1080] | 22 | manager</span>. Ask to create a new site, for example <span |
---|
[858] | 23 | class="filename">http://example.com/galleries</span>.</li> |
---|
| 24 | |
---|
| 25 | <li>a new remote site is registered. You can perform 4 actions : |
---|
| 26 | |
---|
| 27 | <ol> |
---|
| 28 | |
---|
| 29 | <li><strong>generate listing</strong> : launches a distant request to |
---|
| 30 | generate a distant file listing</li> |
---|
| 31 | |
---|
[1080] | 32 | <li><strong>synchronize</strong> : reads the distant <span |
---|
[858] | 33 | class="filename">listing.xml</span> file and synchronizes with |
---|
| 34 | database informations.</li> |
---|
| 35 | |
---|
| 36 | <li><strong>clean</strong> : removes distant <span |
---|
| 37 | class="filename">listing.xml</span> file.</li> |
---|
| 38 | |
---|
| 39 | <li><strong>delete</strong> : deletes the site (and all related |
---|
| 40 | categories and elements) in the database.</li> |
---|
| 41 | |
---|
| 42 | </ol> |
---|
| 43 | </li> |
---|
| 44 | </ol> |
---|
| 45 | |
---|
[1080] | 46 | <!-- <p>You can do all this by hand by generating yourself the <span |
---|
[858] | 47 | class="filename">listing.xml</span> file, moving it from your distant server |
---|
[2342] | 48 | to you local Piwigo root directory and opening the remote site |
---|
| 49 | management screen : Piwigo will propose you to use the found |
---|
[1080] | 50 | listing.xml file.</p>--> |
---|
[858] | 51 | |
---|