Show your results with a before and after slider
Put two photos in one frame and let visitors drag the line between them. Dental smiles, skin, hair, gyms, renovations, cleaning, car detailing, gardens and photo editing all sell better when people can see the change for themselves.
- Free plan
- No credit card
- Works on any website
yourwebsite.com
Drag the line, click where it should go, or use the arrow keys.
How it works
How to add a before and after slider to your website
Pick a design, add your photos, paste the code.
Pick a design
14 ready designs for clinics, salons, gyms, builders, cleaners, detailers, gardeners, photographers and estate agents, plus holiday looks. Every one is free.
Add your photos
Pick the before and after photos together; a file name with before or after goes on its side. Add a title, a few words, photos in between and a button.
Paste the code
Copy one snippet into your page. Change the photos any time in your dashboard; your site follows without touching the code.
Features
A slider people actually move
One pair or a whole portfolio
One slider, a list, a carousel with dots and small photos to pick from, a grid, or tabs. Filter buttons by category, like Kitchens and Bathrooms.
Stages, not just two photos
Add up to two photos in between, like Week 6, and visitors pick which two to compare.
Drag, hover or play by itself
Drag the line or click where it should go, follow the mouse, or let it sweep by itself until someone touches it. Left to right, top to bottom, or slanted.
Shows it can be moved
A small nudge or a Drag tag the first time the photos come into view, so visitors know to try it.
A Book now button into your leads
A button under each pair or under them all opens one of your forms. What visitors send lands in Leads, with the photos they looked at.
Works with the keyboard and screen readers
The line is a real slider: Tab to it and use the arrow keys, and screen readers say how far it is. It follows each visitor's reduce-motion setting.
Smooth on phones
Moving the line never stops the page from scrolling. A tap jumps the line there, and the photos can take a taller shape on phones.
See who moved it
Views, how many visitors moved the line, the pairs moved most, opened full screen and button presses, on every plan.
Designs
14 designs, all free
Every design works on every plan. A few of them:
Bright Smile
White and mint for dental clinics, with a Book a check-up button.
Transformation
Black and lime, with Day 1, Week 6 and Week 12.
Fresh Coat
A slanted line in a white frame, for painters.
Staged to Sell
A side panel with the price and a button, for estate agents.
Everything included
Everything in the before and after slider
Every design and setting you can use. Most are on every plan; the few that need a paid plan say so.
Photos
- Upload many at once, JPG, PNG or WebP, or use a link
- Up to two photos in between each pair
- Labels in any language, per slider or per pair
- A description of each photo for screen readers
- A line-up tool to move and zoom the before photo
- 20 pairs on Free, 100 on paid plans
Layout and slider
- List, carousel, grid or tabs, with category filters
- 10 photo shapes, and another one for phones
- Left to right, top to bottom or slanted
- Drag, hover, plays itself or still, and where the line starts
- 8 handle styles, the line's width, a glow
- Open a pair full screen
For you
- 14 designs and holiday looks, your colours and fonts
- A Book now button that opens one of your forms (leads go to Leads) or goes to a link
- Views, moves, pairs, full-screen opens and button presses on every plan
- Custom CSS and no Powered by WidgetPop link on paid plans
Who it is for
Who it is for
Clinics and salons
Dental smiles, skin treatments, hair colour and cuts: on the treatment page, beside the price.
Builders, painters, cleaners and gardeners
A gallery of jobs by category, with a Get a quote button that sends you the lead.
Gyms, coaches, detailers and photographers
Progress in stages, a showroom shine, or a retouch: proof that sells the next booking.
Guide
Before and after photos that convince
The slider does the showing. Good photos do the convincing.
Same spot, same light
Stand in the same place and shoot at the same time of day. If the two do not line up, the editor's line-up tool moves and zooms the before photo to match.
Real results, with permission
Show your own real work, and ask clients before you show their photos. Visitors trust honest photos more than perfect ones.
Say what changed
A short title and a few words, like Two coats, three days, tell visitors what they are looking at.
Works everywhere
Add your slider anywhere
Copy the code from your dashboard and paste it where the slider should appear:
- WordPress
- Add a Custom HTML block (or Elementor's HTML widget) and paste the code.
- Shopify
- In the theme editor, add a Custom Liquid section to a page or product template and paste the code.
- Wix
- Add, Embed code, Embed HTML, then paste the iframe code.
- Squarespace
- Add a Code block and paste the code.
- Webflow
- Drop in an Embed element and paste the code.
- Any HTML site
- Paste the two lines where the slider should appear.
Common problems
Slider not working as expected?
Most problems have a quick fix. Find yours below.
The two photos do not line up
Crop them to the same shape before uploading if you can, then open the pair and use Line up the two photos to move and zoom the before photo.
Faces or tops are cut off on phones
In Layout, Photo shape, pick a taller shape On phones, like Portrait 4:5.
It does not show on my site
Add your website in the Install tab, under Allow your website, and open the live page (not your builder's editor).
The Book now button does nothing
Pick one of your forms in Settings, Button. If you have none, make a Form widget first; it needs no install of its own.
Still stuck? Email support@widgetpop.com and we usually reply within a day.
Help center
Before & after slider guides
Step by step, with screenshots of the dashboard.
FAQ
Before and after slider: questions
How do I add a before and after slider to my website?
Make a free WidgetPop account, add a Before & after widget, pick a design and your photos, then paste the code into your page. It works on WordPress, Shopify, Wix, Squarespace, Webflow and any HTML site.
Is it free?
Yes. Every design, layout, the full-screen view and the Book now button are free on every plan, with up to 20 pairs. Paid plans add up to 100 pairs, custom CSS and the script code, and remove the Powered by WidgetPop link.
Does it work on phones?
Yes. Visitors drag or tap to move the line, and the page still scrolls normally. The photos can take a different shape on phones.
Can visitors use it with a keyboard or screen reader?
Yes. The line is a real slider: Tab to it and use the arrow keys, Home and End. Screen readers hear its name, your photo descriptions and how far it is.
Will it slow down my page?
No. Photos are made smaller when you upload them and load only when visitors scroll to them.
Can I compare more than two photos?
Yes. Add up to two photos in between, like Week 6, and visitors pick which two to compare.
More widgets
One account, every widget
Use them together on the same site, from the same dashboard.
Pricing
Start free. Upgrade when it pays off.
No credit card to start. Cancel any time.
Starter
/month
- 1 website
- Unlimited widgets
- Unlimited views
- Remove “Powered by WidgetPop”
- Email support
Pro
/month
- 3 websites
- Unlimited widgets
- Unlimited views
- Remove “Powered by WidgetPop”
- Priority email support
Agency
/month
- 10 websites
- Unlimited widgets
- Unlimited views
- Remove “Powered by WidgetPop”
- Priority email + chat support
Pick any of our widgets on every plan. Analytics included.
Prices in US dollars. Tax, where it applies, is added at checkout.
Add a before and after slider to your site
Free plan, no credit card. Ready in a couple of minutes.
Create your free widget

