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

Background images in css class not displaying

tonjiz wrote on 2013-09-27:
I am using the Java API to convert html to pdf w/ an external stylesheet. There are reference to images in some of the css classes but they aren't displaying.

It looks something like this:
.mycssclass {
background: url("http://localhost:8080/Myapp/images/circle.gif") no-repeat scroll 0 0 transparent;
cursor: pointer;
font-family: Arial;
padding: 2px 9px 10px;

Any ideas?
support wrote on 2013-09-30:

This is because Pdfcrowd can't access your localhost (http://localhost:8080/Myapp/images/circle.gif). The image must be accessible from the public Internet.