Photo Collage Maker
Operator: Abdulla Al Fahad. How tools are built and checked
Most collages people actually post are plain grids: four holiday shots in a square, six product angles in two rows, nine faces from a team day. What makes one look tidy is not a clever template but even spacing, cells of one shape, and photos cropped so the subject stays in the middle of each cell.
Photo Collage Maker builds exactly that kind of grid from 2 to 9 photos. You choose the number of columns, the gap between photos, the margin around the outside, the cell shape and the background colour, and the photos fill the cells left to right and top to bottom in the order you list them. The result is one JPG or PNG with no watermark, drawn on a canvas inside the page.
Key features
- 2 to 9 JPG, PNG or WEBP photos, each up to 25 MB and 50 megapixels, checked by file contents.
- Reorder photos with up and down arrows, or remove one.
- 1 to 4 columns; rows automatic or fixed from 1 to 9.
- Seven cell shapes from 16:9 wide to 2:3 portrait.
- Gap from 0 to 60 px and outer margin from 0 to 200 px.
- Background colour for gaps, margins, empty cells and contain bands.
- Cover (crop to fill) or contain (whole photo) fit.
- Output width from 800 to 4000 px with the height worked out from the grid; JPG at quality 90 or PNG.
- The planned output size and cell size are shown before you draw, and the finished collage is previewed before download.
Where every pixel of the collage goes
The width you enter, from 800 to 4000 px, is the exact width of the file. The tool subtracts the left and right margins and the gaps between columns, divides what remains by the number of columns and rounds down to whole pixels, so every cell is the same width. The few pixels lost to rounding (always fewer than the number of columns) are added to the outer margin, half on the left and the remainder on the right. With 3 columns, a 10 px gap and no margin at 900 px wide, each cell is 293 px and the single leftover pixel goes to the right edge.
The height is not entered; it follows from the grid. Each cell's height is its width divided by the chosen shape (1:1, 4:3, 3:2, 16:9, 3:4, 2:3 or 4:5) and rounded, and the file height is the top and bottom margins plus the rows of cells plus the gaps between rows. Rows can be set to as many as the photos need, or fixed from 1 to 9.
Cover mode scales each photo until it fills its cell and crops the excess evenly from both sides, so a 2000 × 1000 photo in a 500 × 500 cell is scaled to 1000 × 500 and the middle 500 × 500 is kept. Contain mode scales the whole photo to fit inside the cell and centres it, so the background colour shows above and below or at the sides. JPG is saved at quality 90; PNG is lossless and larger.
How it works
The list holds 2 to 9 photos; a tenth is turned away with a note saying how many were left out, and Make collage stays disabled until there are at least two. Any single photo over 50 megapixels is refused, and the finished collage itself is capped at 40 megapixels and 16,384 px on a side, which is checked from your settings before any canvas is created. When you press Make collage, the grid geometry is worked out from your settings, a canvas of the final size is painted with the background colour, and the photos are decoded one at a time, turned upright according to their EXIF orientation, drawn into their cells with clipping, and released before the next one is opened.
The finished canvas is encoded as JPG or PNG by the browser, shown as a preview and offered for download. Changing a setting afterwards marks the preview as out of date until you draw again.
Typical uses
- A traveller puts four beach photos in a 2 × 2 square with white gaps for a single social post instead of a carousel.
- A small shop owner lines up six angles of a handmade bag in three columns of portrait cells for a listing image.
- A parent makes a 3 × 3 grid of a child's school year, one photo a month, to print as a card.
- An estate agent combines a front view and three room shots into one wide image for a window display.
Building one
- Drop 2 to 9 photos on the box or click to choose them.
- Use the arrows to put them in the order they should fill the grid.
- Choose columns, rows, cell shape and fit mode.
- Set the output width, the gap, the margin and the background colour, and check the size line underneath.
- Press Make collage and look at the preview.
- Press Download collage to save the JPG or PNG.
Example
Five phone photos (4032 × 3024 and 3024 × 4032), 3 columns, rows automatic, 4:5 portrait cells, width 1080 px, gap 12 px, margin 24 px, cover
Inner width: 1080 − 2 × 24 − 2 × 12 = 1008 px
Cell width: 1008 ÷ 3 = 336 px (no rounding leftover)
Cell height: 336 ÷ 0.8 = 420 px
Rows: 5 photos ÷ 3 columns → 2 rowsResulting collage
Output: 1080 × 900 px (24 + 420 + 12 + 420 + 24)
Cells: 6, photos: 5, so the bottom-right cell is background only
A 3024 × 4032 portrait is scaled by 1/9 and 126 px of source are cropped from its top and bottom
A 4032 × 3024 landscape loses the outer parts of its width to fill the narrow cellTips for best results
- Choose the cell shape that matches most of your photos. Landscape shots in square cells lose their sides in cover mode, while 4:3 cells hold a standard 4:3 phone photo with nothing cropped.
- Order the photos before you draw. The list is filled row by row, so in a two-column grid the first two photos form the top row.
- Look at the preview at the size it will be seen. A gap that looks generous at full size can almost disappear once a social app shrinks the image, so widen it for small-screen use.
- Set the margin equal to the gap for a balanced border, or to zero when the collage will sit on a page that already has white space around it.
- Pick PNG when the collage contains screenshots or text, and JPG for photos that will be shared online.
Things to check before you rely on it
Cover mode always crops from the centre. A portrait with the face near the top of the frame can lose part of the head in a landscape cell. Use contain for that photo's shape, or crop it yourself first so the subject sits in the middle.
Every cell has the same size. The tool does not make one large feature photo with smaller ones around it, and it does not let one photo span two cells.
When there are fewer photos than cells, the last cells are left empty in the background colour; when there are more photos than cells, the extra ones at the end of the list are not drawn, and a warning says how many.
Tall layouts can exceed what a browser canvas can hold. One column of nine square cells at 4000 px wide would be 36,000 px tall, so layouts over 16,384 px on a side or 40 megapixels in total are refused with a message before drawing starts.
Transparent areas of PNG photos take the background colour, and the PNG output has no transparency of its own.
Photos are drawn at the cell size, so a small source photo in a large cell is enlarged and will look soft. Check the preview at full size before printing.
Common errors and how to fix them
- The message says the layout has no room for the columns.
- The margins and gaps take up the whole width. Lower the margin or the gap, use fewer columns, or raise the output width.
- Make collage is greyed out and the size line is replaced by a red note about the layout.
- The planned collage is over 40 megapixels or taller than 16,384 px, usually one or two columns of portrait cells at a large width. Add a column, choose a wider cell shape, or lower the output width until the size line returns.
- A phone photo that looked sideways in a file browser comes out upright in the collage, and its crop is not where you expected.
- Each photo is turned according to its EXIF orientation before it is placed, so a portrait stored on its side is treated as a portrait. In a landscape cell, cover mode then trims its top and bottom, not its sides. Pick a portrait cell shape or contain mode for those photos.
- The warning says some photos will not appear.
- Rows is fixed at a number that gives fewer cells than photos. Set Rows to automatic, add a column, or remove photos from the end of the list.
Best practices
- For print, work out the width from the print size: a 6 inch wide print at 300 pixels per inch needs 1800 px.
- Before choosing cover, check which photos have their subject near an edge; crop those by hand first so the centre crop keeps what matters.
- Use a background colour taken from the photos themselves, such as the sand or the sky, for a softer look than pure white.
- Keep the original photos; the collage is a new image and cannot be split back into full-quality originals.
Cover or contain: what each one gives up
Cover gives a solid wall of pictures with no bands, and pays for it with the edges of photos whose shape differs from the cell. A 4032 × 3024 landscape in a 950 × 950 square cell keeps the centre 3024 × 3024 of the original and loses 504 px from each side.
Contain keeps every pixel of every photo and pays with bands of background colour. The same landscape photo in the same cell is drawn 950 × 713 with bands of 118 and 119 px above and below. Contain works best when the background colour is chosen on purpose, so the bands read as part of the design rather than as gaps.
Why the right margin can be a pixel wider
Cells have to be whole pixels, and the space between the margins does not always divide evenly by the number of columns. Rather than make one column a pixel wider than the rest or leave the file a pixel narrower than requested, the tool keeps all cells equal and puts the leftover in the outer margin. With 4 columns, a 10 px gap and no margin at 1000 px wide, each cell is 242 px and the two leftover pixels become a 1 px margin on each side.
The size line under the settings tells you when this happens, so you can adjust the width to a number that divides evenly if the extra pixel matters.
Frequently asked questions
Can I make a 2 × 2 collage that is exactly 2000 × 2000 px?
Yes. Set 2 columns, square cells, width 2000, gap 20 and margin 40. Each cell becomes 950 px, and the height works out to 40 + 950 + 20 + 950 + 40 = 2000 px.
Does the tool keep the photos' EXIF data in the collage?
No. The collage is a new image drawn on a canvas, and the browser writes it without camera, date or location data from the originals. Each photo is turned upright from its EXIF orientation before it is drawn, so sideways phone photos come out the right way up.
Can one photo take up two cells?
Not in this tool. Every cell in the grid is the same size and holds one photo. For a feature layout, make a smaller collage first and combine it with the large photo in a second collage.
What happens to cells with no photo?
They are filled with the background colour, the same as the gaps and the margin, so an empty cell looks like a deliberate blank.