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

[SOLVED] images do not print

xtiansimon wrote on 2013-09-09:
With the HTML option "do not print images" unckecked, the resulting pdf does not show the image.

<img alt="../images/inaugural2.png" src="../images/inaugural2.png" style="width: 100%; height: 100%;" /> 
support wrote on 2013-09-09:

This can happen from several reasons. Most likely, you are converting a local HTML document and the images reside on your machine. In such case our service can't access them, hence they do not show up in PDF.

You need to either put them on the public internet (e.g. via Dropbox) and use absolute urls:
<img src="" style="width: 100%; height: 100%;" />

Alternatively, you can zip your HTML document together with the images to a .zip file and upload the zip file here
xtiansimon wrote on 2013-09-09:
The command:
$ tar -czvf bk-nltk.tar.gz
Can't unpack the archive.

note on the content, the files are not private but html pages I've downloaded and edited from the opensource book nltk. I'm trying to convert these html pages to pdf size which is easier to read on a kindle than the pages I can convert from the web site. Unfortunately only some of the pages are formatting to the smaller size. If this doesn't work then I'll open another post for troubleshooting that issue.
support wrote on 2013-09-10:

The submitted archive file must contain an HTML file at the root level or there must be exactly one directory at the root level containing an HTML file. The recognized extensions are .html and .htm. If there are multiple HTML files only one of them is converted. So it is not possible to convert the whole book at once but you have create a tarball for each chapter.

Example archive layouts:

$ tar -tvf foo1.tar.gz

$tar -tvf foo2.tar.gz
xtiansimon wrote on 2013-09-11:
The _easy way_ to do this is move all the image folders into the root directory and edit the html file. Make the tar ball just pointing at the images folders and the one .html file. It makes a buch bigger archive because it includes unnecessary images, but its easier because I don't have to spend time including just the used images. But...

$ tar czf ch07.tar.gz ch07.html images/ tree_images/ pylisting/ callouts/ default.css

But I'm getting an error: Can't unpack the archive.
support wrote on 2013-09-12:
Please send the tarball to and we will look into it.
xtiansimon wrote on 2013-09-12:
Hehehe. I did! Its right there in the command as a link!
support wrote on 2013-09-16:

The issue should be fixed now.
srajasekaran wrote on 2013-10-21:
Hi - I'm also getting the same "Can't unpack archive" error. The only unusual thing is that I'm creating a zip archive using the package - are there any known incompatibilities with that?

srajasekaran wrote on 2013-10-21:
For anyone who is interested:

I was able to solve this problem by using apache commons compression library to zip the files instead of using library.
digitalbamboo wrote on 2014-01-06:

I'm using pdfcrowd API for python and I tried to generate the pdf from a zip file using convertFile function, but it gives me an error: "Failed: 510 - Can't unpack the archive". I have tried different ways of creating the zip file (manually with Winrar, from code with python using zip file and even with apache commons in java), but still the same error. I have also tried the .tar.gz file, but no succes. If I upload the archive file on the website it works. What is happening?

Thank you for your answer.
support wrote on 2014-01-07:

Could you please download the development version of the pdfcrowd API for python and let me know if it helps? Thanks.

digitalbamboo wrote on 2014-01-07:
Thak your for your answer. I tried it, but I still get the same error. I forgot to mention that I'm using Windows 7.
support wrote on 2014-01-08:

If you can send us the zip file to, we will look into it.