-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images are not rendered #10
Comments
I am having this same issue. Was evaluating this piece of kit, but if its not going to even render images... Bit of a show stopper. Base64 data URIs appear to work as a semi-workaround. |
-- Please reply above this line --
Hello Ironpdf/iron-Pdf-Documentation,
We received your email request! Someone from our team will get back to
you as soon as possible.
Thank you!
Iron Software Development Team
[email protected]
www.ironsoftware.com [1]
…------------------------------ LATEST PRODUCT
UPDATES ---------------------------------
IronXL Excel Library released - https://ironsoftware.com/csharp/excel/
[2]
Discounts available for existing Iron customers. Email us for details.
------------------------- SUPPORT & UPDATES EXTENSIONS
---------------------------
IronPDF and IronOCR support & update extensions and upgrades
available.
Yearly Subscriptions or 4yr packs:
https://ironpdf.com/licensing/support-updates-extensions/ [3]
You're receiving this email from Iron Software because you have
enquired about
our products or we found your details as a public contact for your
organization.
If you wish to be removed from our database please reply to this email
stating so.
Links:
------
[1] http://www.ironsoftware.com
[2] https://ironsoftware.com/csharp/excel/
[3] https://ironpdf.com/licensing/support-updates-extensions/
|
Hello, |
No. The support people at Iron Software never followed up. We got around the issue by converting our images to Base64 and embedded them in our documents as Data URLs. It's infuriating that we had to do this for a paid product that is supposed to do this already, but it works. Thankfully, we control the documents we're creating. If we had to pull third-party documents, we would have had to create a whole engine to retrieve and re-encode the images simply to spoon-feed this tool. That would have been untenable and grounds for dumping IronPdf and replacing it with something that worked. I suspect it had something to do with the image's URI somehow not matching the document's base URI. We develop on a deadline and weren't being paid to debug someone else's problem. I never pursued it any further, assuming Iron Software would actually take the time to look into this major bug. We've since upgraded to their latest version, but I haven't had the time to see if this bug was fixed. They never bothered to get back to me, so I don't know if they ever addressed it. |
Thanks for this fast reply. I will try your "solution". |
@EEaglehouse @Biggyboo @JosephGarrone I had same problem, that Images are not rendered.
I found the reason. RenderHtmlAsPdf needs a base directory path (BaseUrlOrPath) for the related html template assets.
With the correct BaseUrlOrPath, alle images are rendered. |
@eoehen for some reason this doesn't work for me.. still getting no images. I have the following file structure:
Running Reading the contents of index.html into a string variable and running |
@IronPdf seems something might be up with your mailing lists. Everytime I receive an advertising email from yourselves, you're also posting it to this specific Github issue. |
maybe to resolve your issue you must make a pilgrimage to one of their conferences to commune with the elders of IronPdf? |
I have a problem with rendering HTML containing embedded
<img>
tags. The images do not appear except for a little empty square in the PDF document. The same HTML text that is used to generate the document executes perfectly in a browser.Here is what I have tried so far, all without success:
<img src='...'/>
and<img src='...'>
both produce no images in the PDF.Without the ability to render images, this product is pretty worthless to me.
What black magic do I have to perform in order to get IronPDF to include real images from tags in the document? There aren't even any error messages I can research. How can I get information about why IronPDF isn't working? Or is this just a bug and I will have to wait for an update?
The text was updated successfully, but these errors were encountered: