Effects · Gutenberg

Vertical Scroll Image block for WordPress

Display a tall or wide image in a fixed-height container. Hover to scroll through the full image vertically or horizontally. Perfect for showcasing app screenshots, infographics, or long designs.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Display a tall or wide image in a fixed-height container. Hover to scroll through the full image vertically or horizontally. Perfect for showcasing app screenshots, infographics, or long designs.

Inspector panels on this block: Image, Scroll Behavior. Those titles come from index.js, not from a shared template.

Behavior controls: “Scroll Direction” options: Vertical ↕, Horizontal ↔; “Trigger” options: Hover, Auto (loop); “Style — Shadow” options: None, Small, Medium, Large.

Where to find it

Gutenberg inserter → Effects → search “Vertical Scroll Image” (block name `blockenberg/vertical-scroll-image` in block.json). Style it in the sidebar after insert.

How to use Vertical Scroll Image block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Vertical Scroll Image”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Image. Set “Show Caption”, “Show Scroll Hint Label”, “Scroll Direction”, “Trigger”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Show CaptionOn/off toggle in the inspector. Off by default. Saved as `showCaption`.
Show Scroll Hint LabelOn/off toggle in the inspector. On by default. Saved as `showLabel`.
Scroll DirectionSelect control; the chosen value is saved on the block. Options: Vertical ↕; Horizontal ↔. block.json default: vertical. Saved as `scrollDirection`.
TriggerSelect control; the chosen value is saved on the block. Options: Hover; Auto (loop). block.json default: hover. Saved as `scrollTrigger`.
Scroll Duration (s)Numeric range control in the inspector. Range 1–15. block.json default: 4. Saved as `scrollDuration`.
Container Height (px)Numeric range control in the inspector. Range 150–800. block.json default: 420. Saved as `containerHeight`.
Border Radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Style — ShadowSelect control; the chosen value is saved on the block. Options: None; Small; Medium; Large. block.json default: md. Saved as `shadowSize`.
Max Width (px)Numeric range control in the inspector. Range 300–1400. block.json default: 800. Saved as `maxWidth`.
Padding Top (px)Numeric range control in the inspector. Range 0–150. block.json default: 48. Saved as `paddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–150. block.json default: 48. Saved as `paddingBottom`.
Section BackgroundColor control in the inspector. block.json default: #f9fafb. Saved as `bgColor`.
Image BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`.
Caption TextColor control in the inspector. block.json default: #6b7280. Saved as `captionColor`.
Label TextColor control in the inspector. block.json default: #ffffff. Saved as `labelColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Vertical Scroll Image block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Vertical Scroll Image”. It sits under Effects. After insert, open Image and set “Show Caption”, “Show Scroll Hint Label”, “Scroll Direction”, “Trigger”.

What makes Vertical Scroll Image different from other Blockenberg blocks?

Display a tall or wide image in a fixed-height container. Hover to scroll through the full image vertically or horizontally. Perfect for showcasing app screenshots, infographics, or long designs. Inspector labels on this block include “Show Caption”, “Show Scroll Hint Label”, “Scroll Direction”, “Trigger”.

Is the Vertical Scroll Image Gutenberg block free?

Yes. Vertical Scroll Image ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Vertical Scroll Image to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Image, Scroll Behavior).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Vertical Scroll Image from the Gutenberg inserter.

Get Blockenberg