Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Images from PDF not being embedded in HTML #15

Open
DocWorks opened this issue Dec 11, 2018 · 1 comment
Open

Images from PDF not being embedded in HTML #15

DocWorks opened this issue Dec 11, 2018 · 1 comment

Comments

@DocWorks
Copy link

Currently experiencing an issue with images when converting an uploaded PDF document to a HTML string.
These are the settings:
image
When uploading a PDF like this however:
image
It results in this:
image
Obviously I don't want empty space, but rather a working picture of a dog (in this case at least)
Any idea what might cause this and how to fix it?

I've already attempted:

  • Changing imageJpeg to false
  • Changing inlineImages to false
  • Changing onlyContent to true

But so far none of that has solved it.

@DocWorks
Copy link
Author

Finally fixed this, apparently the file was being searched double encoded, resulting in spaces going to %20 and then going to %2520, which meant the image file couldn't be found, so adding this solved it:
image

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

No branches or pull requests

1 participant