A developer extension for Omni Gallery. Format display widgets and lightboxes using concrete5 Elements.
Omni Gallery Elements is a developer level Display Widget and Lightbox Overlay extension for Omni Gallery.
Requires php7.3+. Compatible with php8+.
Data for each image is passed to a concrete5 element. It is up to you, as a site developer, to code your own element to format images and information and then select your element in the edit dialog. Omni Gallery will then use your element to show in the Display Widget or Lightbox Overlay .
Once installed, you will have variations of existing Display Widgets and Lightbox Overlays. These function in the same way as the core Omni Gallery plugins they are based on.
The difference is, rather than configuring the image display and supporting information directly in the Omni Gallery edit dialog, data is passed to a concrete5 element which becomes fully responsible for presenting the image and supporting information for display.
In its basic use, Omni Gallery Elements provides an edit dialog for selecting an element and mapping data to the element. As a developer, it is up to you to code your own element to format images and information and then select your element in the edit dialog. A more advanced use is to map data to an element and wrap it in a scaled box. This scales all pulled elements to the same size, so facilitating the creation of galleries and sliders from disparate element content.
Omni Gallery Elements provides some basic elements. These are intended as diagnostic aids and examples of how to use data The real power of Omni Gallery Elements is when you provide your own elements for display. You are not limited to the URL/ Title/ Description/ Extended Description that Omni Gallery uses You can pull in other attributes, multiple images and pretty much anything you can imagine. Then show it in a slider or gallery.
Omni Gallery Elements requires Omni Gallery and is free to those who have purchased Omni Gallery. Just send me your Omni Gallery license details and I will grant you a free license to this extension, or purchase the suite for the cost of Omni Gallery in the Omni Gallery Complete offer.