We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When isotope creates a pdf document, relative image paths become absolute. https://github.com/isotope/core/blob/master/system/modules/isotope/library/Isotope/Model/Document/Standard.php#L181-L188
In the bugfix version of TCPDF 6.2.25 the image path is checked and new replaced if necessary. In tcpdf https://github.com/tecnickcom/TCPDF/blob/master/tcpdf.php#L18819-L18850
https://github.com/tecnickcom/TCPDF/blob/master/tcpdf.php#L18831 check tcpdf the document part in the imgsrc-part, but under contao 4 we have document-root in web folder. So the check failed and tcpdf generate a wrong imgsrc path.
Set a confict rule in my composer.json for the 6.2.25 but its not the solution for this.
Contao give relative path by rendering a pdf from frontend.
The text was updated successfully, but these errors were encountered:
Override document root to fix images in PDFs in Contao 4 (#1980)
383f41e
No branches or pull requests
When isotope creates a pdf document, relative image paths become absolute.
https://github.com/isotope/core/blob/master/system/modules/isotope/library/Isotope/Model/Document/Standard.php#L181-L188
In the bugfix version of TCPDF 6.2.25 the image path is checked and new replaced if necessary. In tcpdf https://github.com/tecnickcom/TCPDF/blob/master/tcpdf.php#L18819-L18850
https://github.com/tecnickcom/TCPDF/blob/master/tcpdf.php#L18831 check tcpdf the document part in the imgsrc-part, but under contao 4 we have document-root in web folder. So the check failed and tcpdf generate a wrong imgsrc path.
Set a confict rule in my composer.json for the 6.2.25 but its not the solution for this.
Contao give relative path by rendering a pdf from frontend.
The text was updated successfully, but these errors were encountered: