This is an archived forum post. The information may be outdated. Contact us if you have any questions.

How to generate pdf file , if the site have images from server

devpa wrote on 2013-07-17:
I have asp.net web page and it have some images , getting from server.
While exporting to pdf using this dll, it is not exporting the images.
How can I export image aslo ?
support wrote on 2013-07-17:
Hello,

1/ Use absolute URLs:
<img src="http://example.com/image.png" />


2/ Or use the <base> tag:
<head>
  <base href="http://example.com">
</head>
<body>
   <img src="image.png" />
</body>