← All widgetsWidget 187 · emcp_custom_187

Image Swap

Elementor widget14 layouts13 content options18 style options3 panel sections

Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: image, swap, hover, flip, reveal, product, before after.

Setup guide

  1. Open a page in Elementor, search the panel for Image Swap and drag it into a container.
  2. Content › Images: Default Image, Swapped Image, Swap On, Effect, Duration (ms), Auto Interval (ms), Aspect Ratio, Link and 5 more.
  3. Pick a Effect: Fade, Slide from right, Slide from bottom, Zoom in, Zoom out, 3D flip, Blur, Wipe (diagonal), Circle reveal, Curtain (split). Each one is shown below.
  4. Style tab sections: Frame, Caption, Badge & Hint. Colours, typography and spacing set here are scoped to this widget instance.
  5. Publish. Every option is a standard Elementor control, so it responds to the editor, dynamic tags and global styles as usual.
Conditional options: Auto Interval (ms) appears when Swap On is auto.
Ships with its own JavaScript; it runs once per instance and re-initialises inside the Elementor editor preview.
Layout

Fade

Effect = fade

FrontBackHover me
FrontBack
Layout

Slide from right

Effect = slide-left

FrontBackHover me
FrontBack
Layout

Slide from bottom

Effect = slide-up

FrontBackHover me
FrontBack
Layout

Zoom in

Effect = zoom

FrontBackHover me
FrontBack
Layout

Zoom out

Effect = zoom-out

FrontBackHover me
FrontBack
Layout

3D flip

Effect = flip

Layout

Blur

Effect = blur

FrontBackHover me
FrontBack
Layout

Wipe (diagonal)

Effect = wipe

FrontBackHover me
FrontBack
Layout

Circle reveal

Effect = circle

FrontBackHover me
FrontBack
Layout

Curtain (split)

Effect = curtain

Click to open
Click to open
Swap On

Hover

Swap On = hover

FrontBackHover me
FrontBack
Swap On

Click / tap (toggle)

Swap On = click

FrontBackHover me
FrontBack
Swap On

Auto (interval)

Swap On = auto

FrontBackHover me
FrontBack
Swap On

When scrolled into view

Swap On = scroll

FrontBackHover me
FrontBack

Options reference

Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).

Content tab

Images

OptionTypeChoices / rangeDefaultNotes
Default Image
image_a
Image
Swapped Image
image_b
Image
Swap On
trigger
DropdownHover, Click / tap (toggle), Auto (interval), When scrolled into viewhover
Effect
effect
DropdownFade, Slide from right, Slide from bottom, Zoom in, Zoom out, 3D flip, Blur, Wipe (diagonal), Circle reveal, Curtain (split)fade
Duration (ms)
duration
Numbermin 100, max 3000600
Auto Interval (ms)
interval
Numbermin 500, max 200002500Shown when trigger = auto
Aspect Ratio
ratio
DropdownNatural (default image), 1:1, 4:3, 3:4, 16:9auto
Link
link
Link
Default Caption
caption_a
Text
Swapped Caption
caption_b
Text
Badge
badge
Text
Corner Hint Icon
icon
Iconfas fa-sync-alt
Show Hint Icon
show_hint
Toggleon / offyes

Style tab

Frame

OptionTypeChoices / rangeDefaultNotes
Radius
radius
Slidermin 0, max 80, px/%16
Border
border
Border
Shadow
shadow
Box shadow
Hover Shadow
shadow_h
Box shadow
Max Width
maxw
Slidermin 100, max 1600, px/%
Alignment
align
Button groupLeft, Center, Rightleft
Image Fit
fit
DropdownCover, Containcover
Default Image Filters
filter_a
Css_filter
Swapped Image Filters
filter_b
Css_filter
Frame Background
bg
Color#f2f4f7

Caption, Badge & Hint

OptionTypeChoices / rangeDefaultNotes
Caption Typography
cap_typo
Typography
Caption Color
cap_color
Color#101828
Caption Align
cap_align
Button groupLeft, Center, Rightcenter
Badge Color
badge_color
Color#ffffff
Badge Background
badge_bg
Color#101828
Hint Icon Color
hint_color
Color#101828
Hint Background
hint_bg
Colorrgba(255,255,255,0.9)
Hint Size
hint_size
Slidermin 20, max 80, px36

Add it with the MCP tools

Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_187" and a settings object using the keys above. Run get-custom-widget with id 187 for the full JSON spec.