How do I put two pictures side by side without stretching?
Choose Side by side in the Layout dropdown and add two photos; this photo grid generator center-crops each image (coverCrop()) to fill its half of the canvas without squishing or stretching faces. You can then adjust Spacing (0% to 8%) and Background color to frame the split cleanly.
According to the MDN CanvasRenderingContext2D.drawImage() Reference, drawImage() slices the centered source rectangle into each destination cell using imageSmoothingQuality = "high". If you want to annotate before-and-after shots first, you can add text captions onto individual photos.
Center-weighted cover cropping inside each cell
Mixed batches of vertical phone shots and wide landscape photos rarely share the same aspect ratio. Instead of distorting proportions to force a fit, coverCrop() scales each photo uniformly until it covers its cell and trims the excess evenly from opposite edges to fix stretched images in your photo collage.
Reordering, removing, and pasting 2 to 12 photos
Every loaded photo appears in a thumbnail strip under the preview canvas with ‹ (move earlier), × (remove), and › (move later) controls. You can add up to 12 photos via Add more photos or paste screenshots directly with Ctrl+V / ⌘V.
When you merge photos from different folders, clicking Clear all resets the canvas and releases decoded ImageBitmap memory immediately so you can start a fresh layout.
Each cell is rendered in reading order from left to right and top to bottom, matching the exact order of thumbnails shown below the live preview. Swapping two photos with the arrow buttons updates the layout instantaneously.
Choosing Grid, Side by side, Stacked, or Feature layouts
The Layout menu adapts automatically to however many photos (2 to 12) are currently loaded. Grid calculates balanced columns from your canvas aspect ratio and centers any shorter bottom row, while One big, others small reserves 62% of the inner width on the left for your hero image.
| Layout option | Cell arrangement | Best photo count | Ideal use case |
|---|---|---|---|
| Grid | Balanced rows and centered last row | 3 to 12 photos | Travel recaps, mood boards, and event grids |
| Side by side | Equal horizontal columns | 2 to 4 photos | Before-and-after comparisons and outfit pairs |
| Stacked | Equal vertical rows | 2 to 4 photos | Comic strips, chat captures, and step sequences |
| One big, others small | 62% hero left + stacked right | 2 to 5 photos | Featured product photo with detail close-ups |
| Print 6 × 4 in | 1800 × 1200 px landscape canvas | 2 to 6 photos | Standard 6 × 4 inch photo lab prints |
If you ever need to do the reverse and slice one panoramic photo into swipeable Instagram tiles, use Image splitter instead.
When you choose One big, others small, the first photo in your thumbnail strip occupies the left 62% column while photos 2 through 12 stack evenly down the right column. Dragging or stepping any photo to the first slot promotes it to the hero position immediately.
Canvas dimensions, spacing, and rounded corner controls
Five Size presets match common social media feeds, vertical stories, widescreen slides, and 6 × 4 inch photo prints. Live preview rendering updates on a 700 px canvas whenever you change any slider, layout, or background swatch.
Matching Instagram 1:1, Portrait 4:5, and Story 9:16 presets
Pick Square (Instagram post) (2000 × 2000 px) for classic square grids, Portrait 4:5 (1600 × 2000 px) to occupy maximum vertical feed space, or Story 9:16 (1080 × 1920 px) for full-screen mobile stories. Landscape 16:9 (2400 × 1350 px) fits presentation decks and YouTube thumbnails.
Tuning 0–8% Spacing, 0–30% Rounded corners, and Background
The Spacing slider adds uniform padding between cells and around the outer margin from 0% to 8% in 0.5% steps, calculated from the shorter canvas side. Rounded corners (0% to 30%) clips each tile using ctx.roundRect(), documented in the MDN CanvasRenderingContext2D.roundRect() Reference.
Use the Background color picker (#ffffff by default) to match your site or feed theme, or package finished photo sheets into a printable PDF when compiling multi-page handouts.
Because Spacing and Rounded corners scale as percentages of the canvas and cell dimensions rather than fixed pixel counts, switching from a 1080 px Story to a 2400 px Landscape layout keeps your visual proportions balanced automatically.
Browser memory clamping and 0.92-quality JPG export
Combining twelve 12-megapixel phone photos at full raw resolution can exhaust mobile browser memory quickly. To keep editing smooth, the collage maker clamps decoded input bitmaps to 2048 px on their longest side while keeping plenty of detail to merge multiple photos into one JPEG across every 1080 px to 2400 px preset.
How 2048 px input scaling prevents tab crashes
Because each grid cell is smaller than the overall 2000 × 2000 px or 2400 × 1350 px canvas, downscaling 4000 px camera originals to 2048 px on import preserves crisp downsampled edges without spiking RAM. Thumbnail previews inside the strip are clamped further to 260 px for instant scrolling.
Tip: If you are combining photos taken in bright sun and dim indoor light, convert them to matching tones first so the finished grid looks cohesive.
Clean watermark-free JPG output and metadata removal
As shown in the MDN HTMLCanvasElement.toBlob() Reference, clicking Save collage renders the full-resolution canvas and exports collage-<size>.jpg at 0.92 quality with zero watermarks or EXIF location tags. You can also use our monochrome black and white photo converter to unify mixed-lighting shots before assembling your layout.