I'm trying to set up a Google Sheet that populates fields and inserts images in a Google Doc template and downloads it as a PDF. I'm having some trouble with the images part - in particular, when I download as a PDF the images aren't showing past the second page. The following links replicate the problem - the first link is the Google Doc and the second link downloads as a PDF.
As shown, the first link contains 3 pages of images, while the PDF shows a blank third page. Is there any way that I can get around this, in particular when using Google Scripts to download as a PDF?
Any help would be appreciated.