Simple Photo Albums

Description

Simple Photo Albums turns a group of native gallery shortcodes into photo albums with cover images and allows for advanced integration with scripts like Jetpack’s Carousel or Swipebox.

Usage

Wrap a group of [gallery] shortcodes with the [simple_photo_album] shortcode:

[simple_photo_album]
[gallery ids="1,2,3"]
[gallery ids="4,5,6"]
[gallery ids="7,8,9"]
[/simple_photo_album]

Each gallery becomes an album and requires clicking through to see the actual gallery itself. This example will render the same as [gallery ids="1,4,7"], which admittedly isn’t very useful.

However, there are a few attributes that may be beneficial and things really shine when paired with third-party scripts like Jetpack’s Carousel, Magnific Popup, or Swipebox — native support is included for all (select one on the Settings → Media screen).

Galleries within the album shortcode may include a gallery_link attribute to link the cover image to an arbitrary permalink when a third-party script isn’t being used:

[gallery ids="1,2,3" gallery_link="http://example.com/gallery-one/"]

Cover Images

By default the first image in each gallery shortcode is used as its cover image and will be included when the gallery is viewed. A manually defined cover can be passed as an additional attribute:

[gallery ids="1,2,3" cover="25"]

Covers can be removed from the galleries entirely using the exclude_covers attribute on the album shortcode:

[simple_photo_album exclude_covers="1"]

Album Display

Any display-related attributes that can be used on native gallery shortcodes can also be used on the album shortcode to modify its appearance (itemtag, icontag, captiontag, columns, size).

[simple_photo_album columns="4"]

Support Policy

We’ll do our best to keep this plugin up to date, fix bugs and implement features when possible, but technical support will only be provided for active AudioTheme customers. If you enjoy this plugin and would like to support its development, you can:

Installation

Installing Simple Photo Albums is just like installing most other plugins. Check out the codex if you have any questions.

FAQ

Can support be added for additional third-party scripts?

Yes. Find the Jetpack Carousel, Magnific Popup and Swipebox files in the plugin folder as an example. They’re all written as plugins to demonstrate how support can be added for just about any script.

Reviews

Not working as expected

[simple_photo_album]
[gallery ids=”107,106,104″ gallery_link=”http://example.com/gallery-one/”]
[gallery ids=”105,102,103″ gallery_link=”http://example.com/gallery-one/”]
[/simple_photo_album]

Shows one image(album cover) for every gallery, after click image enlarged, no other gallery images displayed.

gallery_link don’t make any changes.

Read all 5 reviews

Contributors & Developers

“Simple Photo Albums” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Simple Photo Albums” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.0

  • Updated Magnific Popup to .
  • Updated Swipebox to .
  • Fixed Jetpack Carousel support. This may be removed in a future version.
  • Removed bundled language files in favor of WordPress.org language packs.

1.1.1

  • Added French translation.

1.1.0

  • Added support for Magnific Popup.

1.0.3

  • Load the plugin text domain on ‘plugins_loaded’ in preparation for language packs.

1.0.2

  • Try to remove existing lightbox scripts attached to Swipebox albums.
  • Load the Jetpack gallery script later so it’s properly initialized.
  • Sort the gallery scripts alphabetically in the settings dropdown.

1.0.1

  • Fix captions in the Swipebox extension.
  • Fix strict PHP notices.

1.0

  • Initial release.