PDF kullanarak FPDF Display görüntü

0 Cevap php

Benim oluşturulan PDF dosyası bir resim eklemek istiyorum. Ancak, hiç de iyi pozisyon değildir.

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)

0 Cevap