The Slickr Flickr Gallery inherits its alignment from its container (the HTML element that contains the “div” with class slickr-flickr-gallery).
If the page is left aligned then so is the gallery; if the page is centered then so is the gallery, if the page is right aligned then so is the gallery.
In this example we want a headline, a paragraph of text and a gallery all centered. I have 10 photos in my gallery so I decided to set the photos_per_row parameter to 5.
Example Code for A Centered Gallery
<h3>My Dog Gallery</h3>
<p>Below is a gallery of photographs of my three King Charles Cavalier Spaniels</p>
[ slickr-flickr type="gallery" tag="dogs" photos_per_row="5"]
<p>Rio is a Blenheim, Rocco is a Ruby and Roma is a Tricolour.</p>
The Centered Gallery In Action
My Dog Gallery
Below is a gallery of photographs of my three King Charles Cavalier Spaniels
Rio is a Blenheim, Rocco is a Ruby and Roma is a Tricolour.