Extended Description

Multilanguage descriptions

Multilanguage descriptions are placed between [lang=xx] and [/lang] tags, where xx is the language code (for example en, es, fr). There are also 2 special languages : [lang=default] and [lang=all]

The default description will be used if the description is not available in the connected user selected language. If [lang=default] does not exists, anything outside the [lang] tags will be considered as the default description.

Special language all: anything inside [lang=all] will be included in the description, whatever the connected user defined language is. This is mainly useful to include HTML/JavaScript code inside a description.

Extended descriptions

Extended description tags make it possible to have a short description for the album outside the album, a longer description for the album inside the album page, or even 2 distinct descriptions inside the album page.

tag <!--more--> adds text to the short description.
tag <!--complete--> lets the user have 2 distinct descriptions.
tag <!--up-down--> lets the user have a top and a bottom description.

short description <!--more--> long description

Only the short description is displayed outside the album. On the album page, you will see short description + long description.

short description <!--complete--> long description

Only the short description is displayed outside the album. On the album page, you will only see the long description, so you have 2 distinct descriptions.

top description <!--up-down--> bottom description

Only the top description is displayed outside the album. On the album page, the top description is displayed above the thumbnails, the bottom description is displayed below the thumbnails.

Insert an album or a photo

This tag inserts an album in the description, where xx is the album identifier.

This tag allows you to insert one picture of any size you want, with:

- id the photo identifier
- album (optional) the parent album identifier
- size (optional) the size of the photo, from {SQ, TH, XXS, XS, S, M, L, XL, XXL}
- html (optional) if set to no the tag only returns the URL of the photo, without HTML
- link (optional) if set to yes the photo is wrapped into a link to the picture page

Same thing as above, except that the photo is chosen randomly from album

This tag allows to insert a slideshow (NivoSlider). (you must set album OR list):

- album (optional) source album
- nb_images (optional) max number of photos to display in the slideshow
- random (optional) choose photos randomly in the album
- list (optional) a list of photos ids separated by a comma
- size (optional) the size of the photos, from {SQ, TH, XXS, XS, S, M, L, XL, XXL}
- speed (optional) the slideshow speed (in seconds)
- title (optional) display photo title
- effect (optional) transition effect (see NivoSlider doc)
- arrows (optional) display navigation arrows
- control (optional) display navigation controls
- elastic (optional) adapt slideshow size to each photo

Hide an album

Use tag <!--hidden--> in the album name:

- it won't be displayed in the parent album
- it remains visible in the album menu

Hide an album from the menu

Use tag <!--mb-hidden--> in the album name:

- it won't be displayed in the album menu
- it remains visible in the parent album

Hide a photo

Use tag <!--hidden--> in the photo name:

- it won't be displayed on the thumbnails page
- it remains visible inside the album

Redirected album

Insert this tag into a album description to redirect it to the URL of your choice.

Redirect to a photo of your gallery where xx is the photo identifier; you can add the album identifier next to the photo identifier: xx.ccc.

Redirect to a album of your gallery where xx the album identifier.

Redirect to a search page of your gallery where xx is the search identifier.