Hi,
I am working on a project for a friend and I want to use FPDF. He would like the option of uploading an image to his website and then generating a PDF document with the image laid out 6 times.

The image size he is expecting to upload is: DL size (99mm x 210mm) Not sure yet what that is in Pixels.

But I dont know how to lay the image out 6 times in rows of 3. I then need to add numbering so that each image has a unique number in a corner of the image.

And if the ordered quantity is more than 6 then I want another set of the uploaded image to go onto another page so I will have 2 PDF pages, then 3 pages, then 4 pages etc...

What is the best way of doing this?
Thanks for your help