A before and after slider is one of the most convincing things you can put on your website. It lets a visitor drag a handle across a photo and see the change your work made, from the old state to the new one. No words can show that as clearly as the slider itself.
This kind of slider works for many trades. A cleaner shows a dirty carpet next to a clean one. A decorator shows a tired room next to a fresh one. A dentist shows a smile before and after treatment. A landscaper shows a garden before and after a makeover. In every case, the visitor sees the result with their own eyes, and that builds trust faster than any paragraph of text.
Adding a before and after slider to WordPress is straightforward. You need two photos of the same job, taken from the same angle, and a plugin or block that displays them with a draggable handle. This guide explains how to take the photos, set up the slider, and place it where it will do the most good.
Taking photos that work in a slider
The slider is only as good as the photos you put in it. The most important rule is to take the before and after photos from the same place, at the same angle, and in similar light. If the two photos do not line up, the slider looks wrong, and visitors will notice.
When you start a job, take the before photo first, before you touch anything. Stand back far enough to show the whole area, and hold your phone steady. Note where you stood, so you can stand in the same spot for the after photo. It helps to take two or three before photos from slightly different angles, so you have a choice later.
When the job is finished, take the after photo from the same spot. Tidy up first, and make sure the lighting is similar. If the before photo was taken in daylight, try to take the after photo in daylight too. A big change in light makes the two photos hard to compare, even when the work is excellent.
Always ask the customer if you can use the photos on your website. Most people are happy to say yes, especially when they are pleased with the result. A short message asking permission is enough, and it is polite to offer to remove the photos if they ever change their mind. Never use photos of someone's home or body without asking first.
Adding the slider to WordPress
Start by choosing a before and after slider plugin. Look for one that is regularly updated, has good reviews, and works with the block editor. Many slider plugins offer a free version that is enough for a simple slider, and you can upgrade later if you need more features. Install the plugin and activate it.
Next, upload your two photos to your media library. Before you upload them, resize and compress them, because large photos will slow your page down. A photo that shows at around 800 pixels wide does not need to be 4,000 pixels wide. If you want more on this, our guide on how to speed up a slow WordPress website explains image sizes in detail.
Then create the slider. Most plugins give you a block you can add to a page, where you choose the before photo and the after photo, and add short labels such as Before and After. Check the settings for the handle position and the labels, and keep them simple. A slider with too many labels and effects is harder to use than a plain one.
Place the slider on the page where it makes the most sense. For many businesses, that is the service page for that job, or a gallery page showing recent work. Add a short sentence above the slider explaining what the visitor is looking at, and a sentence below it saying what the job involved. The photos show the result, but a few words of context help visitors understand the work behind it.
Finally, test the slider on your phone. Most visitors will see it on a small screen, so drag the handle yourself and check that it moves smoothly and that both photos are clear. If the slider is hard to use on a phone, try a different plugin or simplify the settings.
Using sliders without misleading anyone
A before and after slider is powerful because it feels like proof, and that means you must use it honestly. Only show real jobs, with real photos, taken by you or your team. Never use photos from another business, and never edit a photo to make the before look worse than it was or the after look better than it is. Visitors can often tell when a photo has been altered, and if they catch it, you lose their trust for good.
Be careful with lighting and editing. It is fine to crop a photo or adjust it slightly so the two images match. It is not fine to darken the before photo or brighten the after photo to exaggerate the difference. The honest version of your work is convincing enough, and it is the only version that will not cause problems later.
It also helps to show a range of jobs, not just your single best one. Three or four sliders from different jobs tell a visitor that the first result was not a one-off. A gallery page with a few sliders is often more convincing than one perfect example. If you want ideas for showing your work, read our guide on adding a before and after gallery to WordPress.
Frequently asked questions
Do I need a paid plugin for a before and after slider?
No. Several slider plugins offer a free version that covers the basics: two photos, a draggable handle, and labels. That is all most small businesses need. Paid versions usually add extra layouts and effects, which are nice but not necessary. Start free and upgrade only if you want a feature you cannot get otherwise.
What size should my before and after photos be?
Both photos should be the same size, and wide enough to look sharp on a computer screen, usually around 1,200 pixels wide. Before uploading, compress them so the page still loads quickly. Two photos of the same size also line up better in the slider, which makes the comparison clearer.
Can I add a slider to any WordPress page?
Yes. Most slider plugins provide a block you can add to any page or post, including service pages, gallery pages, and your homepage. You can also add more than one slider to a page, though it is better to keep the number small so the page stays fast and easy to read.
What if my before and after photos do not line up?
Try cropping both photos to the same area, so the main subject sits in the same place in each one. Many photo apps let you crop and straighten quickly. If the photos are still too different, it is better to use a different pair of photos than to publish a slider that looks wrong. The next time, take the before photo with the after photo in mind.
If you would like help adding a before and after slider to your WordPress website, or you want your whole site improved, contact Shehryar Noor and we can talk through what your business needs. I have been designing and building websites since 2018, including WordPress sites for small businesses that show their work online, and I would be glad to help your results speak for themselves.