Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

Posting PDF Content in WP

Hi Experts,

My new client gave me the attached PDF post as content and I am wondering how would someone do it?

If I take a snapshot and save it as image, it is too blurry.

If I use a PDF to HTML online converter I get a lot of symbols like ~~0 instead of the percents

I tried the PDF Embedder, but I get Setting up fake worker failed: "Cannot read property 'WorkerMessageHandler' of undefined".

The best was the converter, and I go line by line and edit the symbols, but the HTML is not in order as they use absolute positioning. I can do it, but I cannot help wonder if this is the proper way or if there is a better way.finra-infographic---the-financial-ch.pdf
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You might also do something like this...

libreoffice --headless --convert-to html /test/foo.pdf --outdir /test/

Open in new window


Best to use an output directory, as multi-page PDF files will explode/convert to one HTML file for each PDF page... so this will continue working if your PDF file ever changes to multi-page.

libreoffice has many other control options to alter behavior. Take a look at the libreoffice docs for more detail.
Hi!

You can simply upload the PDF using media library. Then create a smaller image and link it to the PDF. You can also create a text link to view it as well. The URL is found in the Media library.

Make sure you add info in the image alt tag:

Link to Info graphic pdf download.

And then the fun part. Create a HTML based version of the information for sight impaired and SEO purposes.

I'm having to do this for a Festival Client who released a lineup Poster for the bands. I've got a page with the poster and I am creating a page with HTML based lineup. It doesn't have to be pixel perfect or especially pretty. It's just providing the info for someone who can't see anyway.

With Gutenberg blocks you can come pretty close to that graphic. Especially, utilizing the column block within group blocks. You may have to install a third party block plugin to find a table for the Annual Household Incomes section.

Creating a html version of this graphic is especially important in your case, since the content is about folks with disabilities!
Avatar of APD Toronto

ASKER

Client put this on hold. I will open new question if needed.

Thanks All.