Skip to main content

[WP] List of supported variables for "Default image gallery"

"Default image gallery" refers to the type of slider that overrides default WordPress [gallery] shortcode or Gutenberg block.

{{image_tag}}
HTML tag for RoyalSlider image (it's IMG tag for normal images and A tag for lazy-loaded), includes alt attribute, video attribute and big image attribute (if availbable). Read more in docs.

{{limage_url}}
URL to main image

{{image_width}}
Width of image

{{image_height}}
Height of image

{{thumbnail}}
Returns thumbnail (rsTmb) RoyalSlider element. Read more in docs.

{{thumbnail_url}}
URL to main image

{{thumbnail_width}}
Width of thumbnail

{{thumbnail_height}}
Height of thumbnail

{{large_image_url}}
URL to "full" size image size

{{title}}
Thumbnail title

{{description}}
Image excerpt, caption.

{{alt}}
Image alt.

{{content}}
Image long description.