Confluence Templates

Hi, is it possible to set up a template with an attachement and also images?


2 answers

This widget could not be displayed.

Hi Simon,

I've not tried this, but it should work if the attachments and images already exist, e.g.

* Create a page called attachments

* Attach the relevant files and images to it

* in your template add something similar to:



where spacekey is the Space you created the page with the attachments, pagetitle is the title of the page with the attachments on in and image.gif is the name of the image(s) you attached.

Make sense?

Hope that helps,



For the image, compny logo, that sounds perfect.

For the attachement, I was hoping to attach a visio doc, to which our developers would be able to update (via the lockpoint plugin. So the attachment would be unique to the page. Sounds like the above would be a 1 source for multiple pages, rather than unique on each page?

Thanks for the quick responce.

Yes, it would be single source for multiple pages, although you could have as many attachments as you wanted, e.g. if you attach 5 files to the "attachments" page then 5 would be available for the template.

If the attachments need to be unique to the page the only way I can think of doing this is attaching all the Visio docs to the "attachments" page and then creating a separate template for each of the pages that you want the developers to create, each template referencing a different attachment. Which means you'd have a 1:1 ratio of templates to pages, which would probably be confusing.

Another way of doing achieveing what you want might be to attach all of the Visio documents, but rather than link them directly in the template just have instructions for the developers to attach the relevant Visio doc when they create the page from the template?

Just a quick update and unfortunately inserting an image in a template doesn't work on 4.1 (and probably not 4.0 either), but should be OK if you're on 3.5 or below.

Ignore me, images in templates do work on 4.1. Chalk that one up to user error on my part.

This widget could not be displayed.


Our Add-on Page Tree Creator works a bit different than the Confluence blueprints / templates. The PTC-templates are based on normal confluence pages and therefore creating a PTC-template is as simple as creating a Confluence page. Of course you could start creating your PTC-template based on an existing Confluence page.

Try our Live Examples (no registration needed).

Marketplace link: Page Tree Creator.


Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

470 views 6 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you