A journal has asked us to add a PDF viewer to the article landing page (and possibly to the general issue page as well).
How can I achieve this? (I’m not a coder.)
Should I create a specific template and include an iframe that references the PDF URL via the PDF.js viewer? If so, could you point me to a simple guide on how to do this?
I requested a link to your site so I can see the erroneous behavior your describing. Could you send me a link to your site? I can have a look at JSTOR too to see what you’re hoping for, but it would be helpful to be able to see your site in order to see the PDF.js behavior.
Thanks for elaborating. I really like your site’s design, by the way.
I now see what you mean.
I see someone encountered a similar issue here :
Here are my best guesses, as well as a few suggestions to try:
Incorrect server permissions or misconfigured download links. This resource goes into more detail about that.
A possibly outdated or incompatible version of the PDF.js version plugin. Would you mind checking the version of the plugin that you’re using in the Plugin gallery?
This could be a behaviour of the browser you’re using. Try accessing it in a different browser to see if that makes a difference.
I think you’re asking about how to present the PDF on the article’s landing page, instead of requiring users to follow a separate link.
There is a plugin that will do this for HTML galleys (the “Inline Html Galley” plugin), but I’m not aware of one that’ll do it for PDFs. You’d unfortunately need to code this.
Regards,
Alec Smecher
Public Knowledge Project Team