
A simple before-after image gallery plugin designed for medical professionals and healthcare practices.
Showcase patient transformations with a clean before/after case gallery. Built for cosmetic surgery, dermatology, dental, and aesthetic clinics.
Free vs Pro Features
Free Features:
– Basic Before-After Gallery
– Category Filtering
– Image Cropping
– Responsive Design
– Before-After View Switching
– Modal Case Navigation
– Category Navigation
Pro Features:
– All Free features
– Sub Category Support
– Multiple Before-After Pairs
– Advanced Filtering (Age, Gender, Procedure)
– Watermarking Capabilities
– Additional Images Carousel
– Sensitive Content Warning
– Detailed Before-After Case Information
– Premium Support
Free Demo: View Free Demo
Pro Demo: View Pro Demo
Key Features:
- Interactive Image Comparison – Smooth drag slider for before/after reveals
- Category Management – Organize cases by treatment types
- Mobile Responsive – Optimized for all devices
- Professional Layouts – Grid and masonry layouts
- Custom Color Theming – Match your brand colors
- Multiple View Modes – Split view, before-only, after-only options
Perfect For:
* Plastic Surgery Clinics
* Dermatology Practices
* Dental Offices
* Aesthetic Medicine Centers
* Weight Loss Clinics
* Hair Restoration Clinics
Support
For support and documentation, please visit: https://medicalbeforeaftergallery.com#support
Privacy Policy
This plugin does not collect any personal data from your visitors. All image processing is done locally on your server.
Third Party Libraries
This plugin includes Cocoen (https://github.com/koenoe/cocoen) – a touch-enabled before/after image comparison slider.
Cocoen is licensed under the MIT License (https://github.com/koenoe/cocoen/blob/main/LICENSE).
Screenshots

Gallery with hover-reveal cards: each card wipes from the before photo to the after photo

The case window: Slider, Before and After views, a blurred photo background and the doctor who treated the case

On a phone: the gallery and the case window

Adding a case: a checklist that ticks itself (title, photos, category, details, publish), the photos first, and the doctor

Gallery settings: colours, category style, card style and case-window background

Doctors: a staff directory with photo, credentials, location and case count; add and edit in a side panel

Categories: add, rename, nest and drag into order, with a tile image for each

Cases: photo cards with status, categories and doctor; search, filter, and publish or trash several at once
FAQ
How do I add a before and after gallery to a page?
Add your cases under Medical Before After Gallery, give each one a category, then put the shortcode [medbeafgallery] on any page or post. Options go in the shortcode, for example [medbeafgallery category_style="buttons" card_style="reveal" items_per_page="9"].
Does it work with the block editor, Elementor or Divi?
It works wherever WordPress runs shortcodes: the block editor’s Shortcode block, the classic editor, and page builders through their shortcode or text modules.
Which practices is it for?
Any practice that shows treatment results: plastic and cosmetic surgery, dermatology, dentistry and orthodontics, hair restoration, med spas and weight-loss clinics. Categories, doctors and case details are yours to name.
How many cases can I show for free?
Up to 12 cases in up to 4 categories. The Pro add-on removes both limits.
Are my photos cropped or changed?
No. The case window and the hover-reveal cards show each photo whole, over a soft blurred copy of itself instead of black bars. The optional cropping tool saves a new copy, and the Pro add-on’s watermarks are separate copies too; your originals are never touched.
Can I show which doctor treated each case?
Yes. Add your doctors under Doctors (photo, credentials, location, profile link) and choose one in each case; the case window shows a doctor card. The Pro add-on adds filtering by doctor and doctor portfolio pages.
Can I show progress photos, not just before and after?
With the Pro add-on: add dated stage photos to a case (for example 3 months, 6 months) and visitors step through them on a timeline in the case window and in the single-case embed.
Can I warn visitors before they see sensitive photos?
With the Pro add-on: a sensitive-content notice, either once for the whole page or photo by photo, and watermarks on the photos visitors see.
Does it collect visitor data or send photos anywhere?
No. Photos stay in your WordPress Media Library and the gallery sends nothing to third parties. You remain responsible for your patients’ consent to publish their photos.
Will it slow down my site?
Its scripts and styles load only on pages that show a gallery, and cards use a properly sized thumbnail instead of the full photo.
Can I customize the colors?
Yes. Pick a solid colour or a gradient under Design in the gallery settings.
Does it work on mobile devices?
Yes. Cards, the comparison slider and the case window are built for touch screens, and the hover-reveal cards use a press-and-hold on phones.
Is it translation-ready?
Yes. The plugin’s text can be translated (text domain medical-before-after-gallery).
What happens to my cases if I delete the plugin?
They are kept, unless you tick “Also delete all cases, categories and their images” under Data & Uninstall first.
ChangeLog
1.5.0
- Changed: the Categories screen edits a category in one panel — name, description and (with the Pro add-on) its icon; WordPress’s own category and doctor screens are only offered when JavaScript is off
- Fixed: clicking a category tile left a box around it (keyboard focus styles now show for the keyboard only)
- Added: medbeafgallery_container_classes filter (classes on the gallery root from the first paint) and Categories screen hooks for add-on fields
- Added: “Hover reveal” card style (optional): the before photo wipes to the after photo on hover, keyboard focus or a press-and-hold, and plays once on the first card that scrolls into view (never for visitors who ask for reduced motion). Each photo is shown whole, over a soft blurred copy of itself — nothing is cropped away
- Added: a blurred copy of the photo fills the case window instead of black bars (Design → Case Window Background)
- Added: doctors — Gallery → Doctors with photo, credentials, location and profile link; choose the doctor in each case; a doctor card in the case window
- Added: “Refined” card style (optional): portrait photos without boxes that wipe to the result, with the title and category in quiet lines under them
- Added: shortcode options
card_style and a working show_filters="false"
- Added: category styles — Design → Category Navigation: carousel, grid, buttons or a drop-down menu (also per gallery with
category_style)
- Added: a simpler Categories screen — add, rename, nest, reorder by drag and drop (or Move up / Move down), choose tile images, delete with a clear warning; the gallery follows your order. WordPress’s standard screen stays one click away
- Added: a Doctors screen laid out as a staff directory — photo or initials, credentials, location and case count on each card; add and edit in a side panel, delete with a clear warning, drag to reorder
- Added: a Cases screen — photo cards (or a compact list) with status, categories, doctor and photo-pair count; search, filter by status, category or doctor, sort; publish, unpublish, trash, restore and delete one case or several at once. WordPress’s standard list stays one click away
- Improved: the case editor reads like a guided form — a header with a Title · Photos · Category · Details · Publish checklist that ticks itself, Save and Publish always in reach, the photos first, and the case details as a tidy grid
- Improved: browsers load the new scripts and styles straight after an update (each file’s version follows its last change)
- Improved: the case window’s view buttons are labelled (Slider, Before, After), and the doctor card sits under the photo on wide screens
- Fixed: the
items_per_page and default_category shortcode options were ignored
- Fixed: on phones the close button covered the end of a long case title
- Fixed: a fixed theme header or the WordPress admin bar could cover the top of the case window, close button included
- Fixed: a case with a single category showed its category badge stretched across the whole card
- Fixed: the dashboard’s “Total Images” count missed every additional photo pair
- Removed: the consultation-button settings, which never showed a button in the free plugin (the booking button is part of the Pro add-on)
- Changed: the dashboard and case editor no longer show locked copies of Pro settings; one short card lists what the Pro add-on adds
- Changed: the Pro Features page quotes real WordPress.org reviews
1.4.0
- Fixed: category tiles showing no icon (their SVG icons were being stripped)
- Fixed: share buttons opening two popup windows per click, and the second gallery on a page getting no working share buttons
- Fixed: carousel arrows covering the first and last category tiles
- Fixed: parent categories whose cases all sit in subcategories disappearing from the category bar, and listing no cases when clicked
- Fixed: a deleted image showing as a broken image instead of a placeholder
- Fixed: the settings screen showing defaults that were not actually in effect, so the first unchanged save quietly changed them; the “Settings saved” message now appears
- Fixed: case descriptions in embeds outside the main gallery (Pro’s single-case embed) showing the wrong text
- Fixed: importing or creating cases from WP-CLI, the REST API or an import could stop part-way when the free case limit was reached
- Fixed: a PHP notice logged on every page without a gallery when WordPress debugging is on (the colour stylesheet was loaded everywhere)
- Fixed: on a site over the free plan’s limits (for example after a Pro licence expires), parent categories missed some of their subcategories’ cases, a category tile could open an empty gallery, and cards could read “Uncategorized”
- Improved: gallery cards load a properly sized thumbnail instead of the full-size original (about 78% less image data per card)
- Improved: placeholder cards while the gallery loads, instead of a blank space
- Improved: accessibility — the case window is a proper dialog (keyboard focus stays inside and returns afterwards), category tiles work with the keyboard, selected states are announced, text sizes follow the visitor’s browser settings, and animations respect “reduce motion”
- Added: setting to show subcategory totals on category tiles (off by default)
- Added: “Delete data on uninstall” setting (off by default) — deleting the plugin now keeps your cases and categories unless you opt in; with it on, trashed cases and every site of a multisite network are cleaned up too
- Added: a notice when the Pro add-on is older than this version expects, and Pro embed shortcodes no longer print as raw text while Pro is inactive or unlicensed
- Compatibility: works with every Pro add-on release; older Pro versions keep working (share buttons fire once, arrows keep clear of the tiles)
1.3.9
- Fixed: HTML entities (such as &) appearing as character codes in the case title and category inside the modal
- Fixed: the “Main View” label no longer shows when a case has only a single before/after image pair
- Improved: modal display on mobile devices
1.2.4
- Removed premium features for free version
- Enhanced drag performance for before/after slider
- Improved mobile responsiveness
- Added comprehensive color theming system
- Fixed modal navigation issues
- Optimized image loading performance