LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   wkhtmltopdf not using http URLs when converting (https://www.linuxquestions.org/questions/linux-desktop-74/wkhtmltopdf-not-using-http-urls-when-converting-4175736828/)

mfoley 05-08-2024 01:15 PM

wkhtmltopdf not using http URLs when converting
 
I'm using wkhtmltopdf version 0.11.0 rc1. I recently upgraded my Linux host to Slackware 15.0, kernel 5.15.145. Before the upgrade I could use a line like:
Code:

<Div style="background-image: url('https://www.myorg.com/ohprs/images/2023-15Twks1B.jpg');">
And wkhtmltopdf would convert that to PDF just fine. After upgrading to 15.0 that no longer works. Now I have to use:
Code:

<Div style="background-image: url('/srv/tomcat/webapps/ohprs/images/2023-15Twks1B.jpg');">
The version of wkhtmltopdf hasn't changed and I really can't see how upgrading the OS would affect that, but the former example definitely work before (for year) and now does not.

Any idea?


All times are GMT -5. The time now is 04:13 PM.