GrowthTools widget

Before and after image slider: add it to your site today

A before and after image slider lets visitors drag between two matched images to inspect a visual change. It provides context for a transformation when the photographs show a fair comparison.

Create your free before and after image slider Browse the widget catalog

Live preview

What the before and after image slider does

Common ways to use a before and after image slider

Set up the before and after image slider in three steps

  1. Create your free GrowthTools account and open the dashboard.
  2. Add the before and after image slider from the widget library, then edit the text, colors and placement.
  3. Paste the install script into your site, publish, and check the widget on a live page.

Prepare a fair visual comparison

Use photographs taken from the same angle and crop them to the same dimensions. A shifted camera position can make the result look more dramatic than it is. Label which image is before and which is after.

For a renovation portfolio, compare the same room before and after the work. Keep exposure similar, describe what changed and avoid presenting retouching as a physical improvement. The visitor should understand the result even without dragging.

Test the slider with a finger on a narrow screen. Check that the handle is easy to find and that essential text remains outside the images. A normal photo gallery is a better choice when pictures show unrelated subjects.

Questions about the before and after image slider

Which view should I pick?

Use horizontal for side-by-side photos, vertical for tall images, and toggle when you want a simple switch.

Do the two images need to match?

Yes. Use images with the same framing so the comparison is easy to read.

Related formats for this goal

Start with the before and after image slider on your site

Create your free account, customize the widget and publish it in minutes. Widget availability depends on your plan.

Create your free account
(platform widget: gt_before_after, default settings, id 1001)