Rank: Newbie Groups: Member
Joined: 10/2/2013 Posts: 1
|
Hi,
I have been using HtmlToPdf.ConvertUrl to create a PDF document from my page.
everything is working fine apart from there are no images (regular / background) appearing in the PDF
Is there any way to get these images to display?
Ps. I seem to recall reading somewhere that when using the ConvertUrl that the baseURL option is ignored.
Thanks,
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Most of the time when you do not see image its because you use ConvertHtml without setting BaseUrl. However BaseUrl does not matter when you use ConvertUrl. However there are scenarios when the image will not be rendered. For example, if your image requires login but you did not login through the converter, then it won't work. To find out exactly why it's not working, you will want to check your web server log to see:
1. Whether the correct Url is sent to your web server; 2. If the Url is correct, whether your web server has responded with the image;
If both are fine, then you should see the images in your PDF file.
Thanks!
|