You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included an in my HTML whose src is a local image file. However, the package tries to download it from the network. I believe this bug deserves works to fix.
OSError: wkhtmltoimage reported an error:
Loading page (1/2)
Warning: Blocked access to file /home/david/imageMaster/bg.jfif
Error: Failed to load about:blank, with network status code 301 and http status code 0 - Protocol "about" is unknown
The text was updated successfully, but these errors were encountered:
Was also suffering from this problem and this is the way I found to solve it.
1º Insure that in the options you include both this keys:
enable-local-file-access is to allow wkhtmltoimage access to local files allow should be the base absolute path where you have the image, in my case a folder named 'templates' inside my project.
I have included an
in my HTML whose src is a local image file. However, the package tries to download it from the network. I believe this bug deserves works to fix.
OSError: wkhtmltoimage reported an error:
Loading page (1/2)
Warning: Blocked access to file /home/david/imageMaster/bg.jfif
Error: Failed to load about:blank, with network status code 301 and http status code 0 - Protocol "about" is unknown
The text was updated successfully, but these errors were encountered: