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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.