=== Image Slider Block === Contributors: anna_werner, oacstudio, morganleek-1 Tags: slider, carousel, images, gallery, block Requires at least: 6.6 Tested up to: 7.0 Stable tag: 3.0.0 Requires PHP: 7.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html A lightweight image slider block for the WordPress editor. No jQuery, no bloat, no upsells. == Description == Create a fully responsive image slider as a native block — and nothing more. One simple block with everything it needs. Version 3.0 removes jQuery and the slick carousel library entirely. The slider is now powered by native CSS scroll-snapping and a tiny script, so it is faster, works before JavaScript loads, and its assets are only loaded on pages that actually contain a slider. Features: * Simple image slider with fade or scroll effect * Autoplay with separate "time between slides" and transition speed settings, plus pause on hover * Optional arrow and dot navigation * Optional infinite looping * Crop images to a uniform ratio, or keep natural sizes with adaptive height * Image linking to the media file, attachment page or a custom URL * Choose the image resolution used in the slider * Accessible: play/pause button, keyboard navigation, screen-reader labels, respects reduced-motion preferences * Lightweight: no jQuery, no external libraries, assets load only where the block is used == Frequently Asked Questions == = Can I change the arrow or dot icons? = There is no setting for this, but the controls are plain buttons (`.isb-arrow`, `.isb-dots button`, `.isb-pause`) that you can restyle with custom CSS. = Will my existing sliders keep working after updating to 3.0? = Yes. Sliders created with older versions keep working on the frontend as they are, and are upgraded to the new format automatically the next time you edit the post. == Screenshots == 1. The Slider block with its settings 2. The rendered Slider in a post == Installation == 1. Upload the extracted plugin files to the `/wp-content/plugins` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the "Plugins" menu in WordPress. 3. Find the Image Slider block in the Media category of the block inserter. == Changelog == = 3.0.0 = * Replaced jQuery and the slick library with a dependency-free slider built on native CSS scroll-snap * Fixed unstable image sizes on WordPress 6.7+ — images are now saved with explicit dimensions * Slider scripts and styles now load only on pages that contain the block * Fixed "Pause on hover" never being applied on the frontend * New: separate autoplay interval ("Time between slides") and transition speed settings * New: infinite loop toggle, image crop toggle and image resolution setting * New: reorder images directly in the editor * New: accessible controls — play/pause button, keyboard navigation, screen-reader labels; reduced-motion preference is respected * The editor now shows a true slider preview * Existing sliders are migrated automatically when the post is next edited = 2.0.1 = * Bug fixes = 2.0 = * Added feature for adaptive height * Added feature for pause on hover * Added feature to use custom URL and open in a new tab * Updated to Blocks API version 2.0 = 1.1 = * Bug fixes = 1.0 = * Initial release == Upgrade Notice == = 3.0.0 = Major update: jQuery and slick removed, WordPress 6.7+ image sizing fixed, big accessibility and performance improvements. Existing sliders migrate automatically.