Those keep with the old editor will have to provide the album parameters through short codes, as the settings window works only with the new Block Editor. A jAlbum Bridge short code looks like this:
[jalbum_bridge albumurl="https://somesite.com/albumpath" type="slideshow" transition="book" /]
Here you can find all the short codes and their default values:
Attribute | Meaning | Default value |
---|---|---|
albumurl | The absolute or site-root relative path to the album (mandatory). | |
align | The projector width: center|wide|full, where “center” has the same width as the text content. | center |
ar | Aspect ratio – width / height – as percentage, e.g. 80 | (depends on type) |
captiontemplate | The template for the image caption in HTML format. Available variables: ${label} – File name without extension ${name} – File name ${fileDate} – File modified date ${comment} – Comment added in jAlbum ${title} – Title ${fileSize} – File size ${category} – Category: image|audio|video|other ${keywords} – Keywords added in jAlbum ${rating} – Rating added in jAlbum ${location} – GPS location | (empty) |
captionplacement | The horizontal / vertical placement of the image caption, e.g. right middle | center bottom |
captionstyle | The color of the image caption: white|light|transparent|dark|black | dark |
depth | The depth of album folder levels to gather images from. 1 = the top level only (or the given folder). The discovery will stop when the number of images reaches the required number of images. | 2 |
disablelinks | By default the projector will have links to images in the real album. By setting this attribute to true you can avoid generating these links. | false |
linktoindex | By default the projector will link to individual images in the album. If you turn this option on all images will link to the main page (or the subfolder if specified). | false |
folder | The initial folder the gathering of images should start. Leave empty for the top level album page! | (empty) |
gap | Taken into account with grid type layouts: grid, masonry, mosaic, strip. Possible values: none|thin|small|medium|large|xlarge | none |
include | The type and order of items to gather: images|folders,images|images,folders|folders | images |
layout | In case of “slideshow” types this is the maximum number of images to gather. In case of “carousel” this can’t be bigger than 15. With grid-like layouts: grid – grid-2-2|grid-3-2|grid-4-2|grid-5-2|grid-3-3|grid-4-3|grid-5-3|grid-4-4|grid-5-4|grid-5-5 (default: grid-4-3) masonry – number of cards: 5–100 (default: 17) mosaic – mos-1-3|mos2-3|mos-1-2-4|mos-1-5 (default: mos-1-3) strip – number of cards: 2–10 (default: 6) | (depends on type) |
ordering | Ordering of the images gathered original|date|date-reverse|name|name-reverse|size|size-reverse|random | original |
slideshowdelay | The length of time between transitions (= pause time) in milliseconds | (depends on transition) |
skipduplicates | The projector is capable of skipping duplicate images (e.g. if the same is used as folder thumbnail). You can disable this behavior by setting this attribute to false | true |
titletemplate | The template for the album caption in HTML format. Available variables: ${label} – File name without extension ${name} – File name ${comment} – Comment added in jAlbum ${title} – Title ${keywords} – Keywords added in jAlbum | (empty) |
titleplacement | The horizontal / vertical placement of the title, e.g. left middle | center top |
titlestyle | The color of the album title: white|light|transparent|dark|black | white |
type | Projector type: slideshow|grid|masonry|mosaic|strip | slideshow |
transitionspeed | Length of transition in milliseconds (type = slideshow only): 0–10000 | (depends on transition, typically 1000) |
transition | Transition type (type = slideshow only): crossfade|zoom|kenburns|stack|slide|swap|carousel|flip| book|cube|coverflow | slide |