Match the pictures you have to JPG, PNG, or WebP to PDF. This hub does not build the file. Civil ID is the page when the two photos are the faces of one card, not full pages.
These pages stack images into a PDF in your browser. Order matters (ID front then back). Transparency in PNG flattens onto the page background. Compress the PDF if email still rejects the file.
Civil ID PDF Maker is the better template for a two-sided card layout. Files named .jpeg use the same JPG to PDF page as .jpg.