Skip to main content
Homepage
Insights

How to Create Before and After Image Comparisons in WordPress

Choose a WordPress comparison slider, prepare matching images, configure its layout and style the result for a clear, accessible comparison.

How to Create Before and After Image Comparisons in WordPress

By Benjamin Hall 2 min read

A before-and-after slider lets visitors compare two versions of an image in the same space by moving a divider. It works well for renovation reveals, photo retouching, landscaping and product transformations, provided the images show the same subject from a consistent viewpoint.

Choose the right comparison setup

For a direct image comparison in WordPress, Conobe Before & After Slider Pro provides a movable divider, before-and-after labels, responsive layouts and a visual editor with a live preview. If you are preparing several examples, its grouping and column options can help you organise them. Test the published page on a phone as well as a desktop.

Prepare a convincing image pair

  • Use the same crop, aspect ratio and camera position for both images wherever possible.
  • Export images at an appropriate size and compress them without obscuring the change you want to show.
  • Avoid putting important text or details directly under the divider, and add meaningful alternative text in the media library.
  • Use images you own or have permission to publish, and make sure the comparison represents the work accurately.

Build and place the slider

In Conobe Before & After Slider Pro, create a comparison and select the before and after media. Add concise labels, set the initial divider position and preview the result. The visual editor shows the image pair beside its live comparison and provides a shortcode to place the saved slider in a page or post.

Conobe Before & After Slider Pro visual editor with media selection and live preview

Example of a published before and after slider on a website

Style for clarity, not decoration

Choose a divider and handle that remain visible over both halves of the image. Keep labels readable, use enough contrast and avoid a fixed height that crops the subject on smaller screens. Use the slider's styling options to match the site without making the interaction hard to find.

Put the comparison in context

Add a short caption describing the project, the change and when the images were taken. A slider is best for one direct visual comparison; use a gallery when visitors need to browse several separate projects. Create your first image or video comparison with Conobe Before & After Slider Pro.

Need a developer for your next project?
I work with businesses across the UK on custom websites, web applications and mobile apps.
Benjamin Hall

Hi. I'm Ben.

I'm a web developer specialising in Laravel, WordPress and mobile app development. I build fast, reliable websites and web apps, and I work directly with you from first email to launch, with no agencies or middlemen. Rated 5.0 everywhere my clients have left a review.