Combine Images into One A4 PDF in the Browser
To combine several photos into one PDF in Docify, upload local image/* files, reorder them with Up and Down (adjacent swap, not drag-and-drop), then click Generate PDF. jsPDF writes one A4 portrait page per image, addImage always passed as JPEG, fitted inside the page minus 20 mm and centered. The file is images.pdf. Nothing is uploaded.
Combining is still a Generate click, not an automatic merge as files appear. The Images to PDF tool appends new picks to the list you already have. For the addImage JPEG argument and the 20 mm fit, see convert JPG to PDF with jsPDF. For PDF-merger and collage limits, see what this page will not merge.
Buttons on the page
- Upload images — a label around a hidden
image/*input withmultiple. Non-image MIME types are dropped. Each remaining file is read withFileReader.readAsDataURLand shown in a preview card. - Up / Down — swap that card with the neighbor. Up is disabled on the first card; Down is disabled on the last. There is no drag-and-drop reorder.
- Remove — drops that one preview. Other cards stay.
- Generate PDF — disabled while the list is empty or
isGeneratingis true. Walks the current order, one image per page,addImagealways passed asJPEG, and savesimages.pdf. - Clear — empties the list. Disabled while there are no images.
Empty vs ready
With no files, the dashed area says “No images uploaded” and the alert says to upload JPG, PNG, GIF, or other image files. After at least one preview loads, the alert switches to “N image(s) ready. Reorder them before exporting.” Generate still waits for a click.
Common jobs this page can do
- Phone photos of a multi-page letter, one photo per page, reordered with Up / Down.
- Receipt JPEGs in expense order — still one image per A4 page, not a grid.
- A short image sequence you want as a single
images.pdfdownload. This is not a designed portfolio layout.
Combine local images
Upload, reorder with Up and Down, click Generate PDF. No upload to a server.
Use Images to PDF →FAQ
- Can I drag and drop to reorder?
- No. Each preview has Up, Down, and Remove. Up and Down swap that card with the adjacent item. There is no drag-and-drop handle. The old “drag and drop images to reorder them” step was not about this page.
- How is page order decided?
- Generate PDF walks the current list from first card to last. New uploads append after the images already in the list. Remove drops one card by its id. Clear empties the whole list.
- Can I put several photos on one page?
- No. Each image gets its own A4 portrait page, addImage always passed as JPEG. This is not a collage, contact sheet, or multi-photo layout. Landscape photos stay on a portrait page with extra side margins.
- What do Upload, Generate PDF, and Clear do?
- Upload images opens an image/* picker (multiple). Generate PDF is disabled while the list is empty or a generate is running. Clear is disabled while the list is empty. The status line shows “N image(s) ready. Reorder them before exporting.” after at least one file loads.