It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I set an image as the default title page for PDF export? Edited

A UI designer was nice enough to whip up some great looking title pages for PDFs for me to give our PDF docset more polish. The images are the exact size of a standard PDF page.

Is there any way I can upload the PDF image to a confluence space, and then have that image load as the first page of any PDF Space Export?

To clarify, we already have a working title page where there is an image set inside the default title page. I want to do away with this cover and instead us an image as the title page itself. I suppose it might be the same as setting an image and then expanding it to fille the entire page, but I'm afraid I don't know the CSS (or if Confluence even supports it).

2 answers

Hi @Isaac Steele

Have you had a look at our Scroll PDF Exporter already? It allows you to easily customize your PDF templates using a graphical template designer. No CSS or HTML coding skills needed.

One feature of the template designer is to define static pages, and use background images on those static pages: You could simply define a title page with the wanted metadata (title of the page, date, ...) and use the image as a background image.

Please let me know if you have any additional questions - as with all Marketplace apps, Scroll PDF Exporter can be tried for free using an evaluation license.

Best,
Nils

Hi,

Just add the image as space attachment and this to "Look & Feel > PDF Style Sheet":

@page:first {

/* Place an image in the background */
background-image: url("place the link to the image here");
background-size: cover;

}

 

Hi 
@Herve_Frydlender thanks for this. The image does set to fit the whole page, but it looks like whenever I do an export, content is superimposed ontop of the background image.

Test Title Page.jpg

I'm trying to figure out how to get rid of that content/text field, so that the first page of the export is only the image (and then all the content starts on the next page):

ActualTitlePage.png

It's especially weird because that first block of text can be either anything set in Look & Feel > "PDF Layout" (which is in HTML) or simply the first page within a given PDF export. Meanwhile, this image itself is set in Look & Feel > PDF Stylesheet (which is in CSS).

All in all, it's very confusing (and frustrating) just to get a default cover page. :/

But thank you for your help all the same.

You're welcome.

I think the only option would be to force a page break before the title. Unfortunately, since 6.13 the way you specify specific formatting for the title as changed, and I'm struggling to find how to address that. If I find a way I'll come back to you.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

159 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you