l use <img src = /> in the html but the image isnot showing in the pdf.

Anyone know how to add images to pdf in html2fpdf

Recommended Answers

Please post the exact line of code you're using.

Jump to Post

All 3 Replies

Please post the exact line of code you're using.

There is more than one version of software with this name. If you are using HTML2PDF V4 from here (the best one), then the examples that come with the distribution demonstrate using images. See exemples/res/exemple00.php

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.