Galleria

The galleria shortcode allows you to display a gallery of images using the Galleria script. The options for this shortcode are shown below.

OptionDefaultExampleDescription
transitionfadetransition="flash"The transition animation type

  • fade
  • flash
  • pulse
  • slide
  • fadeslide
speed5000speed="4000"The slideshow interval in milliseconds
width0width="500"Set a fixed width of the gallery, if 0 it will fill the content area
height0height="300"Set a fixed height of the gallery, if 0 it will be set automatically
image_crop0image_crop="1"Defines how the main image will be cropped inside its container. See the Galleria documentation.

  • 1 – true
  • 0 – false
  • height
  • width
  • landscape
  • portrait
show_counter0show_counter="1"Show the image counter
show_imagenav0show_imagenav="1"Show image navigation
pause_on_interaction1pause_on_interaction="0"The slideshow will pause when the user interacts with the gallery
lightbox0lightbox="1"Use a lightbox when the user clicks on an image

Example

[galleria transition="flash" lightbox="1" width="500"]
<img src="http://www.example.com/image1.png" alt="Image 1" />
<img src="http://www.example.com/image2.png" alt="Image 2" />
<img src="http://www.example.com/image3.png" alt="Image 3" />
[/galleria]

Still having trouble? Head over to the forums.

Forums