# Best Method to Add 36 Page PDF

**URL:** <https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481>\
**Category:** Using Ghost\
**Created:** [October 15, 2025, 12:20pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481 "2025-10-15T12:20:16Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 12:20pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/1 "2025-10-15T12:20:16Z")

</div>

What’s the best method to add a 36-page PDF to the Source theme?

I’m also looking for speed to load.

Before I broke it up, added as individual JPEGs, but this time aiming for WEBPs, and will, of course, correct past issues.

Aiming for speed to load.

Thanks.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [October 15, 2025, 12:48pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/2 "2025-10-15T12:48:29Z")

</div>

I would not convert it to an image if possible. (By doing so, you prevent the text in it from possibly being machine-readable and copy-paste-able, and you’ll be converting from vector to pixels – which means it won’t zoom as well.)

Here are some embedding options, done with a big file!:

> **[A couple PDF options for Ghost](https://www.spectralwebservices.com/blog/a-couple-pdf-options-for-ghost/)**
>
> Want to embed PDFs in your Ghost site? No problem!

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 1:36pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/3 "2025-10-15T13:36:14Z")

</div>

Hi Cathy.

I really need to show the whole pdf, which is a magazine. Didn’t realise the error of my ways. Hmm.

The file option is not an option. I don’t want them to download or open it like that. Looks awful.

I need the full PDF to be viewable and readable on scroll, hence why I broke up to individual images.

Re the embed, where do the files get stored? Your example shows as below but how do I store my PDF and where?

The other thing is that folks are subscribed, and so the new issues will get emailed to subscribers.

My experiences on Ghost of late are not fun.

> **[Lab-manual-biochemistry-2-spring-2019.pdf](https://www.spectralwebservices.com/content/files/2024/12/Lab-manual-biochemistry-2-spring-2019.pdf)**
>
> 853.91 KB

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [October 15, 2025, 4:12pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/4 "2025-10-15T16:12:19Z")

</div>

You can definitely do an embed that shows the full length and can be scrolled through. Here’s an example:

> **[Strategic Plan 2025-27](https://www.tinynewsco.org/strategic-plan-2025-27/)**
>
> Moving beyond our founder stage

I actually store the files in Ghost - I just upload them into a file card and then note on preview what their URL is.

Email is tough. I think a link to click (to see on web or download) is probably the way to go. While you /could/ email 36 images, my email client doesn’t zoom images very nicely, and Ghost restricts the width of images in email, so I think you’d be hard pressed to make it work well.

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 4:44pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/5 "2025-10-15T16:44:57Z")

</div>

Thank you so much, Cathy. OK, I need what Tiny News have. That’s exactly it.

But that’s not the same embed as your example. I tried your code, file on a preview page and got this, but I don’t want to see a black background and a sidebar. I need it like Tiny News has, just the full view magazine. How did they achieve that then?

 ![Screenshot 2025-10-15 at 17.41.43](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/7/6/768674a75dfb2d4f98c3063fb60e62feb07ed4b2.jpeg)

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 5:04pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/6 "2025-10-15T17:04:30Z")

</div>

Just found the Adobe code … my bad. Will see what i can do as that looks like how Tiny News have done it.

Keep you posted.

Thanks. ;)

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 6:16pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/7 "2025-10-15T18:16:46Z")

</div>

I have the api set up and set the client website URL but when I load the PDF using your code it shows for a second then disappears with a display that then it says **File preview not available**

* * *

This application domain ([Clients Domain Here](http://clientsdomainhere.com)) is not authorised to use the provided PDF Embed API Client ID.

But I set it. Or is the domain the url and need to include the page/post name too.

I’m on a deadline and really need this to work.

Where am I going wrong?

EDIT: Fixed (Sort-of). I’d kept the \< & \> in before and after the API.

Hmm, however, it scrolls sideways. It does not view like or scroll up and down like Tiny.

It also has a light grey border which clashes with the website background

How do I change that?

Stressed. ;(

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 7:53pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/8 "2025-10-15T19:53:37Z")

</div>

I tried this demo script, but adding my api key, file link and name, etc, it doesn’t work.

```auto
<div id="adobe-dc-view"></div>
<script src="https://acrobatservices.adobe.com/view-sdk/viewer.js"></script>
<script type="text/javascript">
	document.addEventListener("adobe_dc_view_sdk.ready", function(){ 
		var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});
		adobeDCView.previewFile({
			content:{promise: "<FILE_BLOB_PROMISE>"},
			metaData:{fileName: "<FILE_NAME>"}
		}, {defaultViewMode: "FIT_WIDTH", showAnnotationTools: false, showPrintPDF: false});
	});
</script>

```

Is anyone else able to help? Otherwise, I’m just going to have to default to breaking up the PDF as I did before … for now.

---

<div class="post-metadata">

**Author:** ![muratcorlu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/muratcorlu/32/38509_2.png) [@muratcorlu](https://forum.ghost.org/u/muratcorlu)\
**Post date:** [October 15, 2025, 9:19pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/9 "2025-10-15T21:19:36Z")

</div>

I just checked Cathy’s example. It’s something like below:

```html
<div id="adobe-dc-view"></div>
<script src="https://acrobatservices.adobe.com/view-sdk/viewer.js"></script>
<script type="text/javascript">
	document.addEventListener("adobe_dc_view_sdk.ready", function(){ 
		var adobeDCView = new AdobeDC.View({clientId: "...", divId: "adobe-dc-view"});
		adobeDCView.previewFile({
			content:{location: {url: "https://www.tinynewsco.org/content/files/2025/10/strategic_plan_25_27_rev.pdf"}},
			metaData:{fileName: "Tiny News Collective Strategic Plan"}
		}, {"showAnnotationTools": false, embedMode: "IN_LINE"});
	});
</script>
<style>#adobe-dc-view {height: 100vh}</style>

```

Instead of `content: { promise: "..." }` this uses `content: { location: {url: "full pdf url"} }`

Maybe you can take Cathy’s example as the base and change clientId, fileName and file url with yours.

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 10:18pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/10 "2025-10-15T22:18:40Z")

</div>

I’ve tried all that. Thankfully, however, after a LOT of back and forth with chat GPT I have it working. Thank the Lord.

I’ve now also got 16 back issues that were added when the site went live earlier this year to update.

Thank you so much to Cathy for helping me achieve something like this!

---

<div class="post-metadata">

**Author:** ![weemediahq](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/weemediahq/32/32950_2.png) [@weemediahq](https://forum.ghost.org/u/weemediahq)\
**Post date:** [October 15, 2025, 11:34pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/11 "2025-10-15T23:34:43Z")

</div>

PS @Cathy_Sarisky I’m a bit strapped for cash right now, however I have book-marked your Github page and will be supporting you when I have some spare cash. Money’s too tight to mention right now, however I promise to do so! You have my word. This has been a huge issue for me since I built their site. Magazines are issued 3 times a year, so glad I got this in the bag. 😘

---

<div class="post-metadata">

**Author:** ![tristam15](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/tristam15/32/36828_2.png) [@tristam15](https://forum.ghost.org/u/tristam15)\
**Post date:** [October 21, 2025, 2:38am UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/13 "2025-10-21T02:38:48Z")

</div>

If you are able to share the URL, I would like to take a look at what is the final output. If not, could you share some image/video?

---

<div class="post-metadata">

**Author:** ![MaxG](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@MaxG](https://forum.ghost.org/u/MaxG)\
**Post date:** [May 30, 2026, 8:06pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/14 "2026-05-30T20:06:33Z")

</div>

Hi,

I used the PDF.js approach as mentioned here:

> **[A couple PDF options for Ghost](https://www.spectralwebservices.com/blog/a-couple-pdf-options-for-ghost/)**
>
> Want to embed PDFs in your Ghost site? No problem!

and it used to work but now it doesn’t anymore:

> **[POCACITO Summer Camp 2025: Biloxi and Biomimicry](https://www.pocacito.org/pocacito-summer-camp-2025/)**
>
> We went back to Biloxi for the 2025 POCACITO German-American Summer Academy, this year with a special focus on biomimicry – the ways in which nature inspires solutions to the climate and environmental issues we face.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Previous
> Next
>  ...

I tried with Chrome and Safari and the pages no longer load.  
I have zero knowledge of tech, I simply used the script provided:

 #the-canvas { border: 1px solid black; direction: ltr; width: 100%; }
 Previous Next &nbsp; &nbsp; Page: / 

Any suggestions?  
Sincerely,  
Max

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [May 30, 2026, 8:20pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/15 "2026-05-30T20:20:08Z")

</div>

I think you’ll want to load it from here instead: [https://cdnjs.cloudflare.com/ajax/libs/pdf.js/5.4.149/pdf.min.mjs](https://cdnjs.cloudflare.com/ajax/libs/pdf.js/5.4.149/pdf.min.mjs)

---

<div class="post-metadata">

**Author:** ![MaxG](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@MaxG](https://forum.ghost.org/u/MaxG)\
**Post date:** [June 1, 2026, 2:05pm UTC](https://forum.ghost.org/t/best-method-to-add-36-page-pdf/60481/16 "2026-06-01T14:05:52Z")

</div>

Dear Cathy,

Thank you - much appreciated!
