=== Gallery 5cript === Contributors: biltatous Tags: image, gallery, modal, dialog, popup Requires at least: 6.0 Tested up to: 6.6 Stable tag: 1.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html A WordPress plugin that uses the modern and accessible dialog HTML element to display images and videos. == Description == The dialog element was introduced in 2014 and has had full cross-browser support since 2022. While there are many plugins that offer similar functionality, none (to my knowledge at the time of writing) utilize the dialog element. This is likely due to concerns about backward compatibility, which could pose issues for the end users of those plugins. But why use dialog, you ask? - It's automatically centered. - It appears on top of everything else using the 'top-layer', not just z-index. - It auto-focuses, providing better accessibility for users. - It comes with an out-of-the-box Esc key function to close the modal. - We've enhanced the dialog with additional accessibility features, including ARIA labels and best practices. Additionally: - We're using the picture element with various WordPress image sizes, allowing the browser to choose the most appropriate one to download. - All front-end JavaScript is strongly typed with TypeScript. - It supports YouTube videos. - Captions are supported as well. - You can add your own custom CSS. - It has its own database tables, so it doesn't add extra load to the already heavily used post and meta tables. This also ensures that you can delete it without leaving any residue. == Installation == 1. Upload the plugin folder to your /wp-content/plugins/ folder. 1. Go to the **Plugins** page and activate the plugin. == Frequently Asked Questions == = How do I use this plugin? = Add a new gallery, then add images to your gallery. You can reorder, add caption, add youtube video or delete them. Then you obtain the gallery shortcode and simply paste it in the page you would like your gallery to appear. = How to uninstall the plugin? = If you want to disable and keep the data: Simply deactivate and delete the plugin. If you want to delete everything including the data, go to settings and click on delete data. Then proceed to deactivate and delete the plugin. Warning: you won't be able to retrieve any of your galleries after that. == Demo == You can find a demo here: https://gallery.5cript.com/ == 3rd Party Services == This plugin rely on youtube embed functionality to serve videos. That is only if you choose to display videos in your galleries. A link to that service: https://www.youtube.com/ Policy about embed videos: https://support.google.com/youtube/search?q=policy+embed+video&oq=policy+embde+video&spell=1#zippy=%2Care-you-allowed-to-embed-youtube-videos Generic terms and conditions of Youtube: https://www.youtube.com/static?template=terms Even though the youtube-nocookie.com is used, aka "Enable privacy-enhanced mode", it is necessary that websites that making use of this plugin to require users to accept cookies that allow for third-party use. == Changelog == = 1.0.1 = * Minor lightbox CSS changes. Centered the image better in picture element. = 1.0.0 = * Plugin released.