Article

Why Combining Photos Side by Side Requires Matching Heights First

Published 2026-09-14

Two photos rarely share the same dimensions

A photo taken on one device and a screenshot from another almost never share the exact same width and height, or even the same aspect ratio. Simply placing them next to each other at their original sizes produces a lopsided, misaligned result with mismatched top and bottom edges.

The fix for a row layout: match the height

When arranging images side by side in a row, each image is rescaled to a shared common height — typically the smallest height among the group, to avoid enlarging (and softening) any image beyond its original resolution — while each image's own width adjusts proportionally to preserve its individual aspect ratio. The result is a row where every image lines up cleanly along the top and bottom.

The fix for a column layout: match the width instead

Stacking images vertically works the same way but with the roles reversed: every image is rescaled to a shared common width, with each image's height adjusting proportionally, so the stack lines up cleanly along the left and right edges instead.

Why proportional scaling matters

Scaling only one dimension (say, forcing every image to the same height without adjusting width to match) would stretch or squash images unevenly, distorting their content. Preserving each image's own aspect ratio while matching just the one shared dimension is what keeps every image looking normal and undistorted in the final combined result.

Try it yourself

Our Combine Images tool handles this scaling automatically — choose a row or column layout and it lines up your images cleanly regardless of their original sizes.

Ready to try it yourself?
Open the Combine Images →