How to Combine Images: Side-by-Side Comparisons, Collages and Stitched Screenshots
Putting two or more images into one file sounds trivial, but it’s one of the most common small design tasks: before-and-after shots for a portfolio, three app screens next to each other for a launch post, a product shown from several angles, or a long conversation stitched from several screenshots. Done carelessly, combined images look uneven and cramped. A few rules about sizing, spacing and alignment make them look intentional.
Why combine images at all?
- Comparison. Side by side, differences are obvious: before and after a renovation, edit or redesign.
- Platform limits. Some places allow one image per post or message, or show multiple images awkwardly.
- Context. A row of app screens tells the story of a user flow better than separate files.
- Attachments. One file is easier to email, attach to a ticket or drop into a document than five.
The three basic layouts
| Layout | Best for | Watch out for |
|---|---|---|
| Horizontal (side by side) | Before/after, comparisons, app screens | Very wide results become tiny on phones |
| Vertical (stacked) | Long screenshots, step-by-step instructions, mobile-friendly comparisons | Very tall images may be cropped in feeds |
| Grid | Product angles, mood boards, photo sets | Mixed aspect ratios leave uneven gaps |
The combine images tool above supports all three, with spacing and background color controls.
Matching sizes
The most common mistake is combining images of different heights side by side, so one looks tiny and the edges don’t line up. The fix is to scale images to a common dimension:
- Side by side: give all images the same height.
- Stacked: give all images the same width.
- Grid: give all cells the same size and fit each image inside.
When scaling to match, it’s better to scale everything down to the smallest image’s height (or width) than to scale small images up, which makes them blurry. That’s what our tool does when “scale to the same height/width” is on.
Before-and-after comparisons that convince
A comparison is only persuasive if the only difference is the thing being compared.
- Same framing. Shoot from the same position, at the same zoom, if you can. Crop both images to the same area and aspect ratio before combining; see our cropping guide.
- Same lighting and editing. Don’t make the “after” brighter and more saturated unless that’s the point. Viewers notice, and it undermines trust.
- Label clearly. Add “Before” and “After” labels, or place them in the same order everywhere (before on the left or top is the convention in left-to-right languages).
- Keep a small gap (8–20px) or a thin dividing line so the two images read as separate.
For product claims, especially cosmetics, fitness or health, advertising standards in many countries require that before-and-after images are genuine and not misleadingly edited. Keep it honest.
Spacing and background
- No gap creates a seamless panorama or a continuous strip; good for images designed to connect.
- Small gap (8–20px) gives a clean, modern collage look.
- Large gap with colored background creates a framed, gallery-like presentation.
Use a background color that matches where the image will be shown (white for most documents, your brand background for social posts) so the gaps look intentional.
App screenshots
For showing a product flow:
- Use screenshots from the same device and at the same scale.
- Remove distracting status bar details (battery warnings, notifications), or use clean device mockups.
- Three to five screens is the sweet spot; more becomes unreadable at typical viewing sizes.
- For a portrait phone screen row, a horizontal layout works on desktop, but for mobile viewers a 2-column grid may read better.
Stitching long screenshots
Many phones can take scrolling screenshots, but when they can’t, combining several screenshots vertically works. Overlap areas need trimming so content isn’t duplicated. Crop each screenshot to remove the repeated section and the status bar before stacking them with no gap.
File format and size
| Content | Export as | Why |
|---|---|---|
| Photos | JPEG (quality 85–90) or WebP | Small files, natural images |
| Screenshots, UI, text | PNG | Keeps text sharp |
| Mixed | PNG for quality, JPEG if size matters | Test both |
Watch the dimensions. Five 4000-pixel photos side by side make a 20,000-pixel-wide image, which is far beyond what anyone needs and too large for some apps. Browsers also limit canvas sizes, and the limits vary by browser and device; mobile Safari is especially strict about total canvas area. Our tool caps the output at 12,000 pixels on the longest side for reliability. For web use, resize the result with an image resizer.
Alt text for comparison images
When a combined image is used on a website, describe what is being compared in the alt text, not just “before and after”. For example: “Kitchen before renovation with dark wood cabinets, and after with white cabinets and open shelving.” If the comparison is important, consider showing the images separately in HTML with captions, which also adapts better to mobile layouts.