• Resolved sailingval

    (@sailingval)


    I have installed and activated PDF Embedder. I have added the pdf into New Media and it shows up in the library but when I go into pages and put a block in and go to library, the pdf isn’t there and when I try upload it it doesn’t appear in the library ‘pictures’ but is there in the top right hand corner. So I selected it and the following message came up: This image has an empty alt attribute, its file name is HolkhamLake_August2019-1pdf

    Don’t know what else to try. The file is 1.4MG if that is a problem.

    I need the answer simply explained as I am very new to all of this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @sailingval,

    Are you using the PDF Embedder block specifically or an image block? It sounds like you might be using the second—an image block—which is not the correct method as a PDF is a text filetype and not an image filetype. Using the wrong block would result in the PDFs being filtered out of the media library view as you’ve experienced and would also throw the error because the file attributes are wrong.

    We have a step by step guide (with screenshots) for using the blocks editor to insert the PDFs into your page or post content here: https://wp-pdf.com/kb/gutenberg-editor-and-pdf-embedder/

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

    Thread Starter sailingval

    (@sailingval)

    Thanks for that. I hadn’t spotted the PDF Embedded in the list.

    Thread Starter sailingval

    (@sailingval)

    The only thing I would ask I have no idea what figures to put in to make it a bit bigger.

    Anyway thanks.

    Hi @sailingval,

    The size of the embedded viewer will be dependent on 1) the dimensions you have set in the plugin settings, and 2) the space available within your theme’s template and the parent container that the viewer is embedded into.

    The plugin settings for the size and shape of the viewer (this will be the site-wide default): https://wp-pdf.com/free-instructions/

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Inserting a pdf into a page’ is closed to new replies.