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

Background Image

paddyz wrote on 2013-01-03:

any possibility to get a background image in the pdf file with CSS?

background-image:url(); or background:url(); dont work for me.
paddyz wrote on 2013-01-03:
Got it. Absolute path (url) to the image worked.
nitish_developer wrote on 2013-01-28:
It does not seem to work with the setting of the image in background for the table element of the html.

<table style='background-image:url('> <tr>
support wrote on 2013-01-28:
This should work. Paste your code here: and click the "Convert to PDF" button. The generated PDF contains the background image.
webfoo wrote on 2013-07-22:
I'm having difficulty applying a background to individual <td> elements within a table. I have tried both CSS gradients, as well as a plain old JPG but no matter what I do the table cells do not have backgrounds in the finished product. I have enableBackgrounds set to true.

EDIT: I am submitting the html and image files in a ZIP together to the API via PHP.
support wrote on 2013-07-23:

If you can post here the ZIP file (or send it to, we will take a look at it.
webfoo wrote on 2013-07-24:
I emailed you the ZIP. Thanks much for your help.