WordPress not loaded!'; exit; } require_once('Admin_Page.php'); class Getting_Started extends Admin_Page { private static $instance; private function __construct() { // Empty } static function get_instance() { if (self::$instance == null) { self::$instance = new Getting_Started(); } return self::$instance; } function render_content() { $this->capabilities(); $this->build_gallery(); $this->layouts(); $this->lightbox(); $this->secret_menu(); $this->helper_shortcode(); $this->really_technical(); } function capabilities() { ?>

Capabilities and Documentation

Photonic can show you photos and galleries not just from standard WordPress, but also from several third-party photo-hosting providers such as Flickr, SmugMug, Google Photos etc. The following table tells you what you need for each provider, and provides you with documentation links for how to show something using Photonic.

Provider What Can You Show? Authentication Lightbox Support
Single Photo
(Level 0)
Photos / Videos
(Level 1)
Albums / Sets / Galleries
(Level 2)
Collections / Groups
(Level 3)
Native WP Not supported Standard gallery photos, no videos in WP galleries Standard galleries No such feature in WP No such feature in WP All
Flickr
API Key Required
See Instructions
Supported User Photos, Videos and Group Pools Albums / Photosets and Galleries Collections, with lazy loading Required to share private photos All; Image Lightbox, PrettyPhoto and StripJS cannot handle videos; Lightcase shows Flash videos for Flickr
SmugMug
API Key required for private photos
See instructions
Not supported User photos and videos Albums User tree and Folders Password-protection, Authentication to share your private photos All; Image Lightbox, PrettyPhoto and StripJS cannot handle videos
Google Photos
Client ID required
Authentication required
Not supported Photos and Videos Albums No such feature in Google Photos Back-end authentication All; Fancybox, Featherlight, Image Lightbox, PrettyPhoto and StripJS cannot handle videos
Zenfolio Supported User and Generic photos and videos Photosets (Galleries and Collections) Groups and Group hierarchies Password-protection supported, authentication not supported All; Image Lightbox, PrettyPhoto and StripJS cannot handle videos
Instagram
Authentication required
Supported User photos and videos No such feature in Instagram No such feature in Instagram Back-end / server-side All; Image Lightbox, PrettyPhoto and StripJS cannot handle videos

Showing a Gallery

While using the Classic Editor a gallery is displayed using the [gallery] shortcode. If the Gutenberg Block Editor is used a gallery is displayed using a Gutenberg Block instead. Given the plethora of options and configurations offered in Photonic, things have been made easier by virtue of a shortcode insertion UI. To use it:

  1. Getting Started

    If you are using the "Classic Editor" click on the "Add Media" button or the "Add / Edit Photonic Gallery" button:


    Correspondingly if you are using "Gutenberg" use the Photonic Gallery block:
  2. Building a Gallery

    1. Via "Add Media"
      1. Click on the "Photonic" tab:

      2. Pick your source:

      3. Fill out the attributes for the gallery:

    2. Via "Add / Edit Photonic Gallery", or the "Photonic Gallery" block
      1. You are presented with a screen to pick the source for your gallery:

      2. You will be shown a contextual set of options based on your choices:

  3. Depending on which gallery you inserted you will be shown a placeholder of this sort:
  4. Clicking on the placeholder will let you edit the gallery you inserted.
    Note that if you are using the Visual Editor, you may encounter TinyMCE conflicts with other plugins. In case of such a conflict please report a bug, and disable the Visual Editor integration from Photonic → Settings → Generic Options → Generic Settings → Disable shortcode editing in Visual Editor. The plugin will continue working normally – the only difference is that you will have to do shortcode edits by hand via the Text Editor rather than via a UI in the Visual Editor.

Gallery Layouts

Photonic supports the following types of layouts:

  1. Square thumbnails
  2. Circular thumbnails
  3. Slideshow
  4. Random Justified Grid
  5. Masonry
  6. Mosaic

Which Lightbox?

Photonic includes several lightboxes and supports some others that it cannot include due to licensing reasons. Each lightbox has its own strengths — some are lightweight, some are full-featured and some are very elegant looking. You can pick one based on the features that you feel are most important to you. Note that out-of-the-box, several of these don't support features such as touch gestures, or deep-linking, but for Photonic those capabilities have been integrated into the scripts via other approaches.

Lightbox Included in Photonic? Size Auto-slideshow Deep-linking Social Sharing Touch YouTube, Vimeo etc. HTML5 Videos from Flickr etc. External / Self-hosted MP4 videos Thumbnails
Colorbox
  • JS: 10KB
  • CSS: 5KB
×
Fancybox
  • JS: 16KB
  • CSS: 9KB
× × ×
Fancybox2 ×
  • JS: 23KB
  • CSS: 5KB
Fancybox3
  • JS: 61KB
  • CSS: 14KB
Featherlight
  • JS: 13KB
  • CSS: 5KB
× ×
Image Lightbox
  • JS: 6KB
  • CSS: 5KB
× × × × ×
LightCase
  • JS: 25KB
  • CSS: 16KB
×
Lightgallery
  • JS: 18KB
  • CSS: 20KB
  • Fonts: 20KB
  • + Additional Plugins
Magnific Popup
  • JS: 20KB
  • CSS: 7KB
× ×
PhotoSwipe
  • JS: 41KB
  • CSS: 16KB
× ×
PrettyPhoto
  • JS: 23KB
  • CSS: 27KB
×
Strip ×
  • JS: 39KB
  • CSS: 13KB
× × × × ×
Swipebox
  • JS: 12KB
  • CSS: 5KB
× ×

The Secret Menu

While the shortcode generator for Photonic is fairly comprehensive, there are some additional hidden shortcode parameters that you can use. These are baked into the interactive shortcode builder / Photonic block for Gutenberg, but will not show up in the traditional shortcode interface:

  1. title_position – Takes values none, regular, tooltip, below, hover-slideup-show and slideup-stick. It overrides the title positioning that you have set for that particular provider through your options.
  2. headers – Takes a comma-separated list containing none or more of thumbnail, title, and counter. If a value is specified, that particular component will be shown in the level 2 entity's (i.e. album / gallery / set) header, regardless of the back-end options. So, setting headers='title,counter' for a particular call to display a Zenfolio set, will show the title and photo-count for that set in the header, and not its thumbnail.
  3. fx – Applicable to slideshow layouts. Takes values fade and slide to provide the transitioning effect between slides.
  4. speed – Applicable to slideshow layouts. Takes numeric values in milliseconds, determines the speed of transitioning of slides.
  5. timeout – Applicable to slideshow layouts. Takes numeric values in milliseconds, determines the pause between two slides.
  6. pause – Applicable to slideshow layouts. Takes values 0 (no pause) and 1 (pause), determines if the slideshow should pause upon hovering on it.
  7. controls – Applicable to slideshow layouts. Takes values show and hide, and shows "Previous" and "Next" buttons on the slideshow.
  8. strip-style – Applicable to slideshow layouts. Takes values thumbs and button. If set, and if the layout / style parameter is set to strip-below, strip-above, strip-right, it shows buttons below the slideshow.
  9. popup – Takes values show and hide. If set, and if a level 2 thumbnail (i.e. an Album, Photoset or Gallery thumbnail) is being displayed, this setting overrides Photonic → Settings → Generic Options → Overlaid Popup Panel → Enable Interim Popup for Album Thumbnails.

The Helper Shortcode

There is a second utility shortcode present in the plugin, which displays the output of the helpers but in the front-end.

  1. Short-code: photonic_helper
  2. Attributes: This primary attribute is type. Depending on the value of type other attributes can be passed:
    1. type='flickr' - Additional attributes:
      1. user='xxx' - Passing the user name (i.e. from https://flickr.com/photos/xxx) will get the user_id for use in the Flickr shortcode
      2. group='yyy' - Passing the group name will get the group_id for use in the Flickr shortcode
    2. type='google' - This takes no additional parameters, and prints out the user's Google Photos albums in tabular form

The Really Technical Stuff

You are running PHP with the following details:

PHP Version
Loaded Extensions