Display image in PDF using fpdf

Masonrussel

New Member
I want to insert an image in my created PDF file. However, it won't position well at all. If I do this:$fpdf->Image($row_products['prod_imagelarge'], 10); ->The images will appear however, they're too big.If I do this:$fpdf->Image($row_products['prod_imagelarge'],30, 40, 40, 40);-> Not all images will appear. Only 1 image per page will appear but with the right size. Actually, I am inserting an image inside a while loop. What I would want to display in the pdf file is: (in order)
-product name (works fine)
-product image (the problem is here!)
-product description (works fine)
 
Back
Top