Spinnaker Dialog Lightboxes
A spinnaker is a special type of sail that is flown in front of the main sails. It’s packed away when not in use, but when the wind is right, it can be unfurled to provide a powerful boost. This plugin is named Spinnaker because it allows you to keep your images and PDFs neatly tucked away, ready to
A spinnaker is a special type of sail that is flown in front of the main sails. It’s packed away when not in use, but when the wind is right, it can be unfurled to provide a powerful boost. This plugin is named Spinnaker because it allows you to keep your images and PDFs neatly tucked away, ready to be “unfurled” into a beautiful, accessible lightbox when your users need them.
Spinnaker is a lightweight, modern, and highly accessible plugin that turns any image or PDF link into a fully-featured dialog lightbox. It’s built with accessibility as a priority, ensuring a seamless experience for users with keyboards and screen readers.
Image Lightbox Features:
- Converts any <img> tag into a clickable lightbox trigger.
- Displays a large, scrollable version of your image that fills the viewport without forcing double-scrollbars.
- Adds scroll-arrow buttons for easy navigation of oversized images.
- Supports custom initial image positioning (e.g., center, top, bottom, left, right).
- Displays image credits as a “placard,” with support for links.
- Provides a “Download” button for the full-size image.
- Fully localizable UI text in Spanish, Russian, Vietnamese, Simplified Chinese, Arabic, Korean, and Somali.
PDF Lightbox Features:
- Converts any <a> tag pointing to a PDF into a lightbox trigger.
- Displays the PDF in an embedded viewer right on your site.
- Includes a “Download” button.
- Supports page builder modules (like DIVI) where you can only add a class to the container.
- Tracks PDF views and downloads, with stats available in the WordPress admin.
- Fully localizable UI text in Spanish, Russian, Vietnamese, Simplified Chinese, Arabic, Korean, and Somali.
Usage
Image Lightbox
To make an image open in a lightbox, add the class image-lightbox-trigger to the <img> tag itself.