Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base_path does not work with images #146

Closed
PhenX opened this issue Dec 6, 2012 · 1 comment
Closed

base_path does not work with images #146

PhenX opened this issue Dec 6, 2012 · 1 comment

Comments

@PhenX
Copy link
Member

PhenX commented Dec 6, 2012

Original author: FPMO...@gmail.com (April 09, 2010 09:06:29)

I am using dompdf to render HTML to pdf.
The HTML has images but when I set base_path I do not see that it applies
for IMAGES.
You have written that it works for images too.
See: http://www.digitaljunkies.ca/dompdf/usage.php

My PHP code for rendering HTML by DOMPDF:

$DOMpdf = new DOMPDF();
$DOMpdf->set_base_path(DIR_FS_ROOT);
$output_render = iconv("UTF-8", "latin1//IGNORE", $output);
$DOMpdf->load_html($output_render);
$DOMpdf->render();

What version of the product are you using?
The version is 0.5.1

Original issue: http://code.google.com/p/dompdf/issues/detail?id=140

@PhenX
Copy link
Member Author

PhenX commented Dec 6, 2012

From Freigh...@gmail.com on June 14, 2010 10:25:50
Take a look at issue 138. Does this workaround help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants