{"id":269648,"date":"2026-01-08T23:09:00","date_gmt":"2026-01-08T23:09:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/spinnaker-dialog-lightboxes\/"},"modified":"2026-03-23T22:31:31","modified_gmt":"2026-03-23T22:31:31","slug":"spinnaker-dialog-lightboxes","status":"publish","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/spinnaker-dialog-lightboxes\/","author":18254484,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Spinnaker Dialog Lightboxes","header_author":"Captain Accessible, SeaMonster Studios","header_description":"An accessible, keyboard-friendly lightbox for both images and PDFs using the HTML <code>dialog<\/code> element. Simply add the right class to any image or PDF link to create an instant lightbox!","assets_banners_color":"","last_updated":"2026-03-23 22:31:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/seamonsterstudios.com\/deneb-pulsipher\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":194,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"seamonsterdeneb","date":"2026-01-08 23:28:54"},"1.1.0":{"tag":"1.1.0","author":"seamonsterdeneb","date":"2026-03-23 22:31:31"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3435533,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3435533,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3435533,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3435533,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3435533,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":3435533,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Page utilizing Spinnaker's dual functionality: Image and PDF lightboxes.","2":"An example of the Image Lightbox unfurled, showcasing the download and close buttons.","3":"An example of the PDF Lightbox displaying a document within the embedded viewer, showing easy dismiss options: close button, or clicking off the lightbox.","4":"How to add a PDF trigger class using the Gutenberg editor's \"Advanced\" panel.","5":"The Settings page where you can view view\/download statistics and configure plugin options."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1985,133,237,1764,491],"plugin_category":[34,50],"plugin_contributors":[210010],"plugin_business_model":[],"class_list":["post-269648","plugin","type-plugin","status-publish","hentry","plugin_tags-accessible","plugin_tags-image","plugin_tags-lightbox","plugin_tags-pdf","plugin_tags-popup","plugin_category-accessibility","plugin_category-media","plugin_contributors-seamonsterdeneb","plugin_committers-seamonsterdeneb"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/spinnaker-dialog-lightboxes\/assets\/icon-128x128.png?rev=3435533","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/spinnaker-dialog-lightboxes\/assets\/screenshot-1.jpg?rev=3435533","caption":"Page utilizing Spinnaker's dual functionality: Image and PDF lightboxes."},{"src":"https:\/\/ps.w.org\/spinnaker-dialog-lightboxes\/assets\/screenshot-2.jpg?rev=3435533","caption":"An example of the Image Lightbox unfurled, showcasing the download and close buttons."},{"src":"https:\/\/ps.w.org\/spinnaker-dialog-lightboxes\/assets\/screenshot-3.jpg?rev=3435533","caption":"An example of the PDF Lightbox displaying a document within the embedded viewer, showing easy dismiss options: close button, or clicking off the lightbox."},{"src":"https:\/\/ps.w.org\/spinnaker-dialog-lightboxes\/assets\/screenshot-4.jpg?rev=3435533","caption":"How to add a PDF trigger class using the Gutenberg editor's \"Advanced\" panel."},{"src":"https:\/\/ps.w.org\/spinnaker-dialog-lightboxes\/assets\/screenshot-5.jpg?rev=3435533","caption":"The Settings page where you can view view\/download statistics and configure plugin options."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p><strong>Image Lightbox Features:<\/strong><\/p>\n\n<ul>\n<li>Converts any <code>&lt;img&gt;<\/code> tag into a clickable lightbox trigger.<\/li>\n<li>Displays a large, scrollable version of your image that fills the viewport without forcing double-scrollbars.<\/li>\n<li>Adds scroll-arrow buttons for easy navigation of oversized images.<\/li>\n<li>Supports custom initial image positioning (e.g., center, top, bottom, left, right).<\/li>\n<li>Displays image credits as a \"placard,\" with support for links.<\/li>\n<li>Provides a \"Download\" button for the full-size image.<\/li>\n<li>Fully localizable UI text in Spanish, Russian, Vietnamese, Simplified Chinese, Arabic, Korean, and Somali.<\/li>\n<\/ul>\n\n<p><strong>PDF Lightbox Features:<\/strong><\/p>\n\n<ul>\n<li>Converts any <code>&lt;a&gt;<\/code> tag pointing to a PDF into a lightbox trigger.<\/li>\n<li>Displays the PDF in an embedded viewer right on your site.<\/li>\n<li>Includes a \"Download\" button.<\/li>\n<li>Supports page builder modules (like DIVI) where you can only add a class to the container.<\/li>\n<li>Tracks PDF views and downloads, with stats available in the WordPress admin.<\/li>\n<li>Fully localizable UI text in Spanish, Russian, Vietnamese, Simplified Chinese, Arabic, Korean, and Somali.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h3>Image Lightbox<\/h3>\n\n<p>To make an image open in a lightbox, add the class <code>image-lightbox-trigger<\/code> to the <code>&lt;img&gt;<\/code> tag itself.<\/p>\n\n<p><strong>For Gutenberg Block Editor:<\/strong>\nGutenberg wraps images in a <code>&lt;figure&gt;<\/code> element. Add the class <code>image-lightbox-trigger-container<\/code> to the figure wrapper: Select the image block, open the \"Advanced\" panel in the block settings, and add <code>image-lightbox-trigger-container<\/code> to the \"Additional CSS class(es)\" field. For screen reader descriptions, you can use the image's \"Title\" field (available in the image block settings). For advanced features like credits and positioning, switch to HTML editing mode.<\/p>\n\n<p><strong>For Page Builders (like DIVI):<\/strong>\nIf you can only add a class to the container\/module holding the image, add the class <code>image-lightbox-trigger-container<\/code> to the container. The plugin will find the first image inside it and turn it into a lightbox.<\/p>\n\n<p><strong>Optional Attributes (add to the <code>&lt;img&gt;<\/code> tag):<\/strong><\/p>\n\n<ul>\n<li><code>data-description=\"\u2026\"<\/code>: A longer description for screen readers. <em>Note: Users of Gutenberg and other page builders that don't allow custom attributes to be added can use the image's \"Title\" field. The plugin will automatically use the title text for the screen reader description and remove the title attribute from the image to prevent duplicate announcements.<\/em><\/li>\n<li><code>data-credit=\"\u2026\"<\/code>: The text for the credit placard. <em>Requires HTML editing mode in Gutenberg.<\/em><\/li>\n<li><code>data-credit-link=\"\u2026\"<\/code>: A URL to make the entire credit placard a link. <em>Requires HTML editing mode in Gutenberg.<\/em><\/li>\n<li><code>data-position=\"\u2026\"<\/code>: Set the initial scroll position. Options: <code>top<\/code>, <code>bottom<\/code>, <code>left<\/code>, <code>right<\/code>, or <code>center<\/code> (default). <em>Requires HTML editing mode in Gutenberg.<\/em><\/li>\n<\/ul>\n\n<p><strong>Localization:<\/strong>\nTo translate the UI text, add a language-specific class like <code>-es<\/code> (for Spanish) to the trigger class (e.g., <code>image-lightbox-trigger-es<\/code>).<\/p>\n\n<ul>\n<li><strong>Supported languages:<\/strong> Spanish (<code>-es<\/code>), Russian (<code>-ru<\/code>), Vietnamese (<code>-vi<\/code>), Simplified Chinese (<code>-zh<\/code>), Arabic (<code>-ar<\/code>), Korean (<code>-ko<\/code>), and Somali (<code>-so<\/code>).<\/li>\n<\/ul>\n\n<p><strong>Example HTML:<\/strong><\/p>\n\n<pre><code>&lt;img class=\"image-lightbox-trigger-es\" src=\"\u2026\" alt=\"\u2026\" \n     data-description=\"Una descripci\u00f3n detallada de la imagen.\" \n     data-credit=\"Foto por Jane Doe\" \n     data-credit-link=\"[https:\/\/example.com](https:\/\/example.com)\"\n     data-position=\"right\"&gt;\n<\/code><\/pre>\n\n<h3>PDF Lightbox<\/h3>\n\n<p>To make a link to a PDF open in a lightbox, add the class <code>pdf-lightbox-trigger<\/code> to the <code>&lt;a&gt;<\/code> tag itself.<\/p>\n\n<p><strong>For Page Builders (like DIVI):<\/strong>\nIf you can only add a class to the container\/module holding the link, add the class <code>pdf-lightbox-trigger-container<\/code> to the container. The plugin will find the correct PDF link inside it.<\/p>\n\n<p><strong>Localization:<\/strong>\nTo translate the UI text, add a language-specific class like <code>-es<\/code> (for Spanish) to the trigger class (e.g., <code>pdf-lightbox-trigger-es<\/code>).<\/p>\n\n<ul>\n<li><strong>Supported languages:<\/strong> Spanish (<code>-es<\/code>), Russian (<code>-ru<\/code>), Vietnamese (<code>-vi<\/code>), Simplified Chinese (<code>-zh<\/code>), Arabic (<code>-ar<\/code>), Korean (<code>-ko<\/code>), and Somali (<code>-so<\/code>).<\/li>\n<\/ul>\n\n<p><strong>Example HTML:<\/strong><\/p>\n\n<pre><code>&lt;a href=\"\/path\/to\/file.pdf\" class=\"pdf-lightbox-trigger-es\"&gt;Directorio&lt;\/a&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>spinnaker-dialog-lightboxes.zip<\/code> in your Wordpress plugins dashboard.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Navigate to Settings &gt; Spinnaker Lightbox to configure options and view stats.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20require%20shortcodes%3F\"><h3>Does this plugin require shortcodes?<\/h3><\/dt>\n<dd><p>No. Spinnaker works by adding CSS classes and optional data attributes directly to your images and links, making it fast and easy to use.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20appearance%3F\"><h3>Can I customize the appearance?<\/h3><\/dt>\n<dd><p>Yes. You can modify the background and text color of the download and close buttons (white text on black background by default) by setting your colors in your site's styles with selectors of 'dialog&gt;.spinnaker-close-button' and 'dialog&gt;.spinnaker-download-button'. If your light brand color has good contrast against black, like light blue (#91ccef) for example, you could set these styles in the customizer: \n    <code>dialog&gt;.spinnaker-close-button, dialog&gt;.spinnaker-download-button{\n        color: #91ccef\n    }\n    dialog&gt;.spinnaker-close-button:hover, dialog&gt;.spinnaker-download-button:hover{\n        background: #91ccef;\n    }<\/code><\/p><\/dd>\n<dt id=\"is%20it%20accessible%3F\"><h3>Is it accessible?<\/h3><\/dt>\n<dd><p>Yes. Accessibility is a core feature. Spinnaker uses a native HTML <code>&lt;dialog&gt;<\/code> element, manages focus correctly, and provides screen reader-only text to ensure a great experience for all users.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<li>Combines image and PDF lightbox functionality into a single plugin.<\/li>\n<li>Adds scroll arrows and initial positioning for oversized images.<\/li>\n<li>Adds support for page builder containers.<\/li>\n<li>Adds localization for UI text.<\/li>\n<\/ul>","raw_excerpt":"Accessible lightboxes for images and PDFs using the HTML dialog element. Add classes to create instant lightboxes!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/269648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=269648"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/seamonsterdeneb"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=269648"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=269648"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=269648"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=269648"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=269648"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=269648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}