Hi,
I am including an image in my CSS (as a background image for a DIV tag) which is a symbolic link to another image file. If I echo out my XHTML (which is valid) before passing it to Prince it appears without problem. The PDF generates otherwise without a problem, but the image is missing.
Just wondering if someone could confirm if Prince has any problems finding a symbolic link to an image and using that image or if I am barking up the wrong tree trying to find out why it will not display in the generated PDF.
Thanks!
More details about my code:
CSS:
HTML:
I am including an image in my CSS (as a background image for a DIV tag) which is a symbolic link to another image file. If I echo out my XHTML (which is valid) before passing it to Prince it appears without problem. The PDF generates otherwise without a problem, but the image is missing.
Just wondering if someone could confirm if Prince has any problems finding a symbolic link to an image and using that image or if I am barking up the wrong tree trying to find out why it will not display in the generated PDF.
Thanks!
More details about my code:
CSS:
<style type="text/css">
@page {
size: US-letter;
margin: 0.8in 1in 0.5in 1in;
padding: 0;
}
#pdf_client_logo {
width: 100%;
height: 50px;
padding: 0;
background: url( {% $URLROOT (smarty constant) %}html/images/client_logo.jpg) center center no-repeat;
border: 0;
}
...
HTML:
...
<div id="pdf_client_logo"></div>
...