IMGLAB Image Comparison Slider — User Guide
User Guide & Help Center

Before & After.
Instantly Shareable.

Create stunning drag-to-reveal image comparison sliders in three steps. No account, no watermark, no cost — just drop your images, click create, and share a live link. Works on any device.

3
STEPS TO SHARE
5
HEARTS / PERSON
0
SIGN-UP NEEDED
∞
COMPARISONS
1 Overview

What Is IMGLAB Slider?

IMGLAB Slider is a free, zero-friction tool that transforms any two images into an interactive drag-to-reveal comparison — and publishes it as a live shareable link in seconds.

🖼️
Drag-to-Reveal Comparison

A smooth vertical divider sits between your two images. Viewers drag it left or right to reveal more of either side — the classic before/after experience. Works with mouse, touchpad, and touch screen equally well.

🔗
Instant Shareable Link

Every comparison you create gets its own permanent URL at imglab.net/slider/. Copy the link, paste it anywhere — Twitter, Reddit, Discord, your blog — and anyone can view the interactive slider without installing anything or logging in.

📱
Works on Every Device

Whether your audience is on a desktop with a mouse, a tablet, or a smartphone, the slider responds naturally. Touch-and-drag on mobile works identically to mouse-drag on PC. No app download, no Flash, no plugins — pure modern web.

⚡
Free & No Account Required

IMGLAB Slider is completely free with no hidden fees, no watermarks, and no registration required. Your images are converted to WebP format before upload to keep file sizes small without sacrificing quality. No account means no password to forget and no emails in your inbox.

💡
Perfect for: AI image restoration, photo editing before/after, architecture renderings vs reality, product photography comparisons, game graphics upgrades, skin care results, or any two-state visual comparison you want to share with the world.
2 Creating a Slider

Create Your First Slider in 3 Steps

Head to the generator page and follow the three-step flow. The whole process takes under a minute — even on a slow connection, thanks to WebP conversion reducing file sizes before upload.

IMGLAB Slider — Step 1: Drop two images
Step 1 — Drop or pick two images

IMGLAB Slider — Step 2: Create comparison
Step 2 — Name and create
01
Drop Two Images

Drag and drop your two images directly onto the upload zone, or click anywhere in it to open a file picker. The first image you drop becomes Image A (left / before); the second becomes Image B (right / after).

Supported formats: PNG, JPG, WebP, AVIF, GIF. Both images are shown as preview thumbnails below the drop zone with their dimensions and file size displayed — so you can confirm you’ve selected the right files before proceeding.

💡 The images don’t need to be the same size or aspect ratio. The slider viewer handles mismatched dimensions gracefully.
02
Name Your Comparison & Click Create

In the CREATE & SHARE section, you can optionally choose a descriptive name for your comparison from the dropdown (or type a custom one), or leave it blank for an auto-generated name.

The Convert to WebP toggle is on by default — it compresses your images before upload, dramatically reducing bandwidth while preserving perceptual quality. Adjust the Quality slider (0–100) to balance file size against image fidelity. The default of 80 is the sweet spot for most photos.

Click 🚀 Create Comparison. A progress log appears in real time, showing upload status for both images and confirmation when your comparison JSON is saved.

💡 Watch the log lines turn green — each ✓ confirms a successful step. If you see a red error, try refreshing the page and uploading again.
03
Copy Your Share Link

Once creation finishes, a permanent SHARE URL appears at the bottom of the log panel — something like http://imglab.net/slider/og.php?folder=Your-Name. Click Copy Share URL to copy it to your clipboard instantly.

That’s it. Paste the link anywhere. Anyone who opens it sees your interactive comparison slider — no account, no app, no friction.

⚠️ Copy your share link before clicking + Create New Comparison. The link disappears when the form resets. It’s also shown in a yellow reminder text as a cue.
3 Slider Controls

Using the Interactive Slider

When someone opens your share link, they land on the full interactive viewer. Here’s everything they can do — and how it works on both desktop and mobile.

IMGLAB Comparison Slider viewer
The live slider viewer
↔️
Drag the Divider

The core interaction: grab the ◁▷ handle at the centre of the divider line and drag it horizontally. On the left of the divider is Image A; on the right is Image B. Drag fully left to see 100% of Image B; drag fully right to see 100% of Image A. The transition is live and smooth — no loading between positions.

Desktop: Click and drag the handle with your mouse. Mobile / tablet: Touch and drag the handle with your finger. The touch target is generously sized so it’s easy to grab even on a small screen.

The handle snaps to the exact pixel position of your cursor or finger — there’s no lag or quantisation. You’re directly moving a CSS clip position.
🔍
Zoom Controls

A zoom indicator in the bottom-left corner shows the current zoom level (e.g. 56.0%). There are three ways to control zoom:

  • Scroll wheel — scroll up to zoom in, scroll down to zoom out. The zoom applies to the images only, leaving all controls and buttons unaffected.
  • Type a value — click the zoom indicator and type any exact percentage you want.
  • Preset ratios — click the zoom indicator to open a dropdown and pick from Fit, 50, 100, or 200.

On mobile, use pinch-to-zoom instead of the scroll wheel. The divider position is always preserved as you zoom.

🖼️
Fullscreen View

A fullscreen button (the expand icon ⛶) is shown in the bottom-right corner of the viewer. Click it to enter fullscreen mode and see your comparison at maximum size — ideal for presentations, detailed inspection, or simply the most immersive before/after experience. Press Escape or click the button again to exit.

🔘
Action Buttons

A row of action buttons appears in the bottom-right corner of the viewer overlay:

New Slider — opens the generator to create a new comparison without leaving the current page.
Ko-fi — a quick link to support the project.
Coffee — another support link via Buy Me a Coffee.
ImgLab — return to the IMGLAB homepage.
Share — copy the current slider’s URL to clipboard for easy sharing.
❤ N — the heart/like button with the current like count. See Section 4 for full details.

⇄
Swap Images X

Press X on your keyboard to instantly swap the left and right images. The upload order no longer matters — you can always fix it in the slider. This is a desktop-only shortcut.

4 Hearts & Likes

Show Your Appreciation with Hearts

Every slider has a live heart counter that lets viewers express just how impressive the comparison is — with a twist that rewards genuine enthusiasm.

❤️ Up to 5 Hearts per Person

Unlike a simple one-click like button, IMGLAB Slider lets each visitor give up to 5 hearts to a single comparison. Each tap on the ❤ button adds one heart — so if you’re truly blown away by a restoration or transformation, you can keep clicking to give it the recognition it deserves. Once you’ve given 5 hearts, your contribution is locked in for that comparison.

❤ ❤ ❤ ♡ ♡
❤ 3 / 5 hearts given · 2 remaining
❤️
Persistent Per-Person Limit

Your heart count for each comparison is stored in your browser. Refreshing the page or returning later doesn’t reset your count — the slider remembers how many hearts you’ve already given that specific comparison. You can give 1, 2, 3, 4, or all 5 in a single visit, or spread them across multiple visits.

📊
Live Public Count

The heart button displays the total accumulated hearts from all visitors in real time. When you add a heart, the count updates immediately — no page refresh needed. Share your slider and watch the hearts grow as your audience responds to the comparison.

💡
Why 5 hearts instead of 1? A single click like doesn’t convey intensity. When someone gives all 5 hearts to a before/after AI restoration or a jaw-dropping photo edit, that tells a much richer story than a binary thumbs-up. It also makes the total heart counts more meaningful as a signal of how impressive a comparison truly is.
5 Sharing

Share Anywhere, Instantly

Your slider URL is a permanent, public link that works on any platform, in any browser, on any device. There’s nothing to install and nothing to sign up for — just the link.

🖥️
Desktop Browsers

Chrome, Firefox, Safari, and Edge all support the full interactive experience. The drag handle is responsive to mouse movement, the zoom indicator updates in real time, and fullscreen mode works natively. The slider is built on modern web standards with no dependencies.

📱
Smartphones & Tablets

The touch experience is a first-class citizen — not an afterthought. Touch and drag the divider handle with your finger exactly as you would with a mouse. Pinch-to-zoom works for detail inspection. The interface is fully responsive and scales correctly on any screen size from a compact smartphone to a large tablet.

🐦
Social Media & Forums

Post your slider link on X / Twitter, Reddit, Discord, Facebook, or any other platform. The link resolves to a standalone interactive page — no embed code needed. The page title reflects your comparison name, making it easy to identify in link previews.

📝
Blogs & Websites

Link to your slider from a blog post, embed it in an iframe, or share the URL as a reference. The comparison URL is clean, readable, and permanent. It won’t disappear after 30 days or require a premium account to keep alive.

🔗
The Share button in the viewer: Every slider has a Share button in the bottom-right action bar. Clicking it copies the current page URL to clipboard — so even visitors who discover your slider organically can re-share it just as easily as you can. The heart count travels with the link.
6 File Formats & Quality

Supported Formats & WebP Conversion

IMGLAB Slider accepts all common image formats and optionally converts them to WebP before upload — dramatically reducing file size while maintaining visual quality for faster-loading sliders.

FormatNotesStatus
JPG / JPEGMost common photo format. Converts to WebP efficiently, typically 30–50% smaller.✅ Supported
PNGLossless original. WebP conversion at quality 80 is usually near-lossless visually while being much smaller.✅ Supported
WebPAlready optimal. Uploaded as-is with no re-conversion.✅ Supported
AVIFModern high-efficiency format. Accepted and converted to WebP for maximum browser compatibility.✅ Supported
GIFStatic first frame is used. Animated GIFs are treated as still images.⚠️ Static only
1
Convert to WebP toggle

When enabled (the default), your images are converted to WebP format entirely in your browser before upload. This is client-side processing — your original files are never sent to the server uncompressed. The Quality slider (0–100) controls the compression level. 80 is the default — excellent visual quality with roughly half the file size of the original JPG.

2
Quality control

Drag the quality slider to adjust compression. For photographic content, values between 75–85 are visually indistinguishable from the original but significantly smaller. For detailed drawings, text overlays, or medical imaging where precision matters, increase to 90–95. For casual social sharing where speed matters more than pixel-perfect fidelity, 65–75 works well.

3
Upload log confirmation

The progress log shows the original and converted file sizes side by side — for example: Converted: model 1.jpg → Before.webp (76 KB → 43 KB). This lets you see the exact savings before committing. If the converted size seems too large or too small, cancel and adjust the quality slider.

📦
Pro tip: For AI image restoration comparisons where the difference is in fine texture detail, use quality 90+ so the grain and sharpness differences remain visible. For product photography or architecture where large areas of solid colour dominate, 75–80 is perfectly fine and keeps your slider loading fast for mobile viewers on slower connections.
7 Support

Support & Donations

FREE · NO ADS · NO SIGNUP · COMMUNITY-SUPPORTED

This Tool Runs
on Your Support

IMGLAB Slider is completely free — no subscriptions, no watermarks, no data harvesting. Every feature you use — WebP conversion, permanent links, the heart system, touch support — was built and maintained by one person. Hosting, bandwidth, and development time all have real costs.

🔧 Keeping the service running reliably — uptime, storage, and CDN costs
✨ New features: side-by-side mode, GIF animation support, password-protected sliders
📱 Continued improvements to the mobile touch experience and responsive layout
❤️ More heart options, reaction variety, and community features

IMGLAB Slider exists because tools like this should be free for everyone — researchers, designers, hobbyists, and professionals alike. If you’ve shared a comparison that got a great response, or used it professionally, a one-time coffee directly supports keeping it available.

Troubleshooting
Upload fails or gets stuck
Refresh the page and try again. If one image is very large (>10MB), lower the quality slider to compress it more before upload.
I forgot to copy my share link
If you’ve already clicked “+ Create New Comparison”, the link from your previous creation is gone from the UI. However, if you remember the comparison name, the URL follows the pattern imglab.net/slider/og.php?folder=Your-Name. Try opening that directly.
The slider divider is hard to grab on mobile
The touch target for the handle is intentionally wide. Try touching directly on the ◁▷ icon in the centre of the divider line. If you’re on a very small screen, zooming in first (pinch-to-zoom) can make it easier to grab precisely.
My heart count didn’t save after refreshing
Heart counts are stored in your browser’s local storage. If you’re using a private/incognito window, cleared your browser data, or are on a different browser or device, your previous heart contributions won’t be visible — but they were counted on the server.
The images look blurry or size mismatch in the slider
This happens when you upload too many images in a short period of time. The image hosting service has rate-limited your IP address and is returning low-resolution images. Please wait at least 15 minutes before trying again, or access the slider from a different IP address.
Something else isn’t working
Send a message via Ko-fi or Buy Me a Coffee with a description of the problem and a screenshot if possible. Reports from users are the primary way issues get identified and fixed.