PicturePager Gallery Indexes are the main pages from which you link to PicturePager galleries. The indexes aren't required; they are merely a convenience feature to make it easier for users to publish their galleries.
The galleries provide:
There are three small elements that must be added to an HTML page to turn it into a gallery index. They are:
Element | Example | Description |
---|---|---|
navTo() macro | <SCRIPT LANGUAGE="JavaScript"> | Provides the ability for a button to jump to a gallery. This typically goes in the HEAD section. |
Connection Parameters | <!-- PPGFTPHOST="ftp.myhost.com" | Provides some configuration for the upload. This too typically goes in the HEAD section, but it doesn't really matter where you put it. |
Target Marker | <!--%%PPGTARGET%%--> | Tells PicturePager where to put the new buttons. Do not put this in the HEAD section; put it where the buttons should appear. |
Note that all the elements occur inside comments, so they won't impact the rest of the web page.
PicturePager will put the new buttons immediately before the tag. The rest of the page doesn't have to be PicturePager-centric; the buttons show merely as buttons.
The FTP Wizard uses information from the index file plus from the rest of the form to download, modify, and upload the index document and to add the gallery. Galleries always go into a sub-directory named a munging of the entered button label, so the ftp account must have read, write, and create directory rights.
Yes, the password shows as plaintext. This program is aimed at neophytes who might have significant trouble typing it blind. As open source software,
you can easily download the source, change the field textFTPPass
to the password type, update the getText() calls to getPassword(), and have it show masked.
The FTP Wizard doesn't do a whole lot of error checking. It won't, for example, correctly diagnose an Out of Quota error. But it will note problems with the master document (see above) and simple FTP IO errors.