Image Slider Block

説明

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

スクリーンショット

ブロック

このプラグインは1個のブロックを提供します。

  • Image Slider Block Display multiple images in an elegant, lightweight slider.

インストール

  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.

FAQ

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.

評価

2023年7月25日
What a wonderful plugin. I’ve been looking for a slider plugin days now, and this one is, which exactly fulfills this one task. Without being overwhelmed by a large number of options. Without cluttering up the backend with extra menus and advertising. No upgrades, no features, just a simple block, with everything it needs. Thanks for that.
2023年2月21日
I loved using Image Slider Blocks and found it a lightweight and simple plugin. It made my work easier! The plugin works smoothly and doesn’t demand massive memory use, which is a great advantage.
2021年12月13日
Hi, i like simple blocks and your block is such a block. Must the most necessary features – no unnecessary stuff or confusing settings. But this code block needs to be “is_admin()” only: wp_register_style( 'oacs-image-slider-blocks', plugins_url( 'css/editor.css', __FILE__ ), array( 'wp-edit-blocks' ), filemtime( plugin_dir_path( __FILE__ ) . 'css/editor.css' ) ); wp_enqueue_style( 'oacs-image-slider-blocks');
2021年12月9日
This is exactly what I was looking for three simple images on a site. No need to do 10,000 options, massive memory use or other fluff. This works perfectly!
2020年3月29日
It works out of the box and do exactly what I was searching for : a simple and responsive slider that can replace the Gutenberg gallery block. It is so rare now to find such light plugin. Keep up this good work !
8件のレビューをすべて表示

貢献者と開発者

Image Slider Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Image Slider Block” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Image Slider Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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