html image not showing in pdf
Images src are added depending on the user input. whatever source I use nothing shows up.using the above paths in an html file works fine but wkhtmltopdf does not display anything in the subsequent PDF. I get the PDF as NSData and attach it to an email. The app does not show the PDF to the user before attaching it. Id now like to include some images. Adding their NSURL in HTML with my current PDF generating strategy doesnt work. HTML and CSS to PDF with PHP. Embed Image in Email Message in MPDF Using PHP.Html Code Hex always shows small rectangle. mpdf hidden elements. when i convert html to pdf,it is not showing image in pdf.also the url is correct and image displayed on browser.When I click the tab/hyperlink in my website to open this pdf, it shows me the php code instead of its pdf version.
Can someone please help me? HTML5 provides