Guides

How to compare two images side by side online

Upload both images to ZoomHub, select them on your dashboard and choose Compare. Viewers see them side by side, panning and zooming together, or drag a curtain across them or flip between them, and you can share the comparison as a link or embed it.

Try it: Hubble and Webb, side by side

Hubble’s view of the Pillars of Creation in the Eagle Nebula: dark columns of gas and dust against a blue-green glow
The Pillars of Creation as Hubble saw them in visible light and as Webb saw them in near infrared. Drag the curtain, then zoom in to find the stars Webb sees through the dust. Hubble: NASA, ESA/Hubble and the Hubble Heritage Team. Webb: NASA, ESA, CSA, STScI; J. DePasquale, A. Koekemoer, A. Pagan (STScI). CC BY 4.0.
HTML
<script src="https://zoomhub.net/v/ZHX8ad4yrDB.js?width=100%25&height=480px"></script>

Step by step

  1. Upload both images

    Sign in and upload them on the homepage, together or one at a time. They can be photos, scans or exports of any size your plan takes.

  2. Select them and choose Compare

    On your dashboard, select the images, 2 to 6 of them, and choose Compare. The first is the one the others are compared against.

  3. Choose how they compare

    Curtain lets viewers drag a line across the images. Side by side puts them in panes that pan and zoom together. Flip shows one at a time.

  4. Share it or embed it

    Save the comparison, then copy its link or its embed code. Paste the code into your page’s HTML, or into an HTML or code block in your site builder.

The facts

Modes
Curtain, Side by side and Flip. Viewers can switch between them on the comparison itself.
Images
2 to 6 in one comparison, each of them yours.
Without an account
The compare page opens any two ZoomHub images by their IDs, the last part of each image’s address. Saving and embedding a comparison need an account.
Formats
JPEG, PNG, TIFF, WebP, GIF or PDF. A multi-page PDF becomes one zoomable document.
File size
Up to 1 GB per file on Free, and 5 GB on paid plans.
Cost
Free for personal use, up to 10 images. Commercial use needs a paid plan.

Questions

What is it good for?

Anything with two versions of one view: before and after a restoration, then and now, two scans of a page, a retouched photo and its original, or two satellite passes over the same place.

Can I compare more than two images?

Yes, up to 6. They share one view, in columns, in a grid or around one large pane.

Do comparisons cost extra?

No. Links, embeds and comparisons come with every plan. Free is for personal use, and a paid plan removes the “Powered by ZoomHub” badge.

Does it work on phones?

Yes. The viewer only streams the tiles on the screen, so a large comparison opens on a phone too. Visitors pinch to zoom. In an embed, two fingers move the comparison and one finger scrolls the page; on its own page or in full screen, one finger moves it.

Can I keep a comparison private?

Yes, on a paid plan. In the comparison editor, Sharing protects all its images with one password, and viewers enter it once.