The extension can be installed via the extension manager. Just be sure, that your folder permissions are set correctly.
Change the TS Constants to your needs. Therefor create an extension template on each page created, or use you main template. To change all constants, just use the Template > Constant Editor. Two is essential : “Single” PID and “List” PID if you use TOPICLIST code.
Property: | Data type: | Description: | Default: |
|---|---|---|---|
Template file | file[html,htm,tmpl,txt] | URL and name of the main template, use by all the CODES. | EXT:photographic_library/pi1/photographic_library_template.tmpl |
"Single" pid | int+ | Uid of the SINGLE page use to do link on LIST, ALBUM and SEARCH pages | |
"List" pid | int+ | Uid of the LIST page use to do link on TOPICLIST and ALBUMLIST pages | |
Maximum Width size | int+ | Maximum width size for the thumbnails on LIST, ALBUM and SEARCH pages | 100 |
Maximum Height size | int+ | Maximum height size for the thumbnails on LIST, ALBUM and SEARCH pages | 100 |
Width size | int+ | Fixed width size for the thumbnails on LIST, ALBUM and SEARCH pages | 100 |
Height size | int+ | Fixed height size for the thumbnails on LIST, ALBUM and SEARCH pages | 100 |
Use max size | boolean | Choose between use of max size and fixed size. If is set, thumbnails is formatted with max size properties, else thumbnails is formatted with fixed size properties | 0 |
Maximum single size | int+ | Maximum size for the photo on the SINGLE page | 500 |
Number of photos | int+ | Number of photos display by line on LIST, ALBUM and SEARCH pages | 2 |
Number of photos by page | Int+ | Display list of photos on several pages with link to next and previous at the end of page. If =0, all photos are in the same page. Doesn' t work with result of a search. | 0 |
Number of line | int+ | Number of lines in which random photo are displayed | 1 |
Number of column | int+ | Number of columns in which random photo are displayed | 1 |
Single title backgroundcolor | color | Background color for the title of the photo in the SINGLE page. | #E0E0E0 |
Default copyright | - | Default copyright use on SINGLE page if no copyright was associated with a photo. | |
Enlarging link | - | Text with link to the SINGLE page on the LIST, ALBUM and SEARCH pages | See in large size |
Album search | boolean | If 1, the select box of albums is able on search engine, if 0 the select box of albums is disable on search engine | 1 |
Topic search | boolean | If 1, the select box of topics is able on search engine, if 0 the select box of topics is disable on search engine | 1 |
Topic name wrap | wrap | Wrap apply to the topic name on the TOPICLIST page | | |
Album name wrap | wrap | Wrap apply to the album name on the ALBUMLIST page | | |
Popup for single | boolean | Allow to choose between popup and same window for the single display | 1 |
Horizontal margin | int+ | Spacing between the top of screen and the top of popup | 0 |
Vertical margin | int+ | Spacing betweeb the left of screen and the left of popup | 0 |
Pop-up width | int+ | Width of th popup with SINGLE informatrion | 555 |
Pop-up height | int+ | Height of th popup with SINGLE informatrion | 600 |
useLightBox | Boolean | Activation or desaction of Lightbox display. If is set, you don't use single code and page | 0 |
Allow comment | boolean | Activation or desactivation of FE users comments for each photos in single view | 0 |
Pid comment | int+ | Uid of the sysfolde in which comments are created | 0 |
Allow guest | boolean | Allow no connected user to add comment or not | 0 |
Word guest | String | Word which introduce the comment of a no connected user | Guest |
Wrap user | Wrap | Wrap apply to the name of user | | |
Wrap comment | Wrap | Wrap apply to the comment | | |
Wrap date | Wrap | Wrap apply to the date of a comment | | |
Date format | string | Format apply to the date of a comment | (%d/%m/%Y %H:%M:%S) |
Censured words | string | List of words separate by comma which are censured on comments |