Closed codedgift closed 6 years ago
Hello !
That's weird, png are supposed to work by design. Have you tried a different png ? Maybe this particular file has a problem ?
Can you show me the code ?
okay thanks.... i have figure it out.... i just have to change the image to jpg... that work for me..
i have been working offline and everything seems fine and ok, not until i upload my content online, i started having errors that never show up while offline. please what's wrong.
Mmh, that's hard to tell without the code or the message of the error. I never heard of problems with online content. If this happened to me I would check the pathes of the images in the html and the network connection.
Have you tried viewing the html you want to convert in your browser ? Does it display correctly ?
Also, this repository is only the binding of Html2pdf inside Symfony, maybe they'll have better support for you at the official repository of the library : https://github.com/spipu/html2pdf
Closing due to inactivity.
thanks
i have been working with how to convert html page to pdf.. been trying to insert a image (png), it's not showing and trying changing the image to a jpg it's showing. my question is how can i allow html2pdf library to accept/allow png image file. Thanks in advance