How to Make a Before-and-After Image Slider in Elementor
Add the King Addons Image Comparison widget and upload two versions of the same image. Visitors can drag the divider to reveal the difference.
Set it up in Elementor
- Prepare a matching image pair
Crop both images to the same dimensions and align a shared reference point. This keeps stationary parts of the scene from jumping as the divider moves.
- Add both images and label them
Drag Image Comparison into the page. Select the starting and ending images and set labels that explain what changes, such as Original and Retouched. Add a caption next to the widget if readers need a textual description.
- Test where it opens
Preview the layout and drag the divider in both directions. Check the starting position, touch interaction and label placement on a phone.
KEEP YOUR IDEA MOVING
See the widget in action
Try the interaction on the live demo and use the setup instructions as you build.
Common questions
Can I compare photos with different aspect ratios?
Pre-crop the images to matching ratios. The comparison is easier to understand when the two views line up.
What makes a good before-and-after example?
Choose two photos taken from the same angle or two product views with consistent framing, then show the change clearly in the labels.