Insert image placeholder in template

According to documentation and other questions, it is not possible to attach an image (or other file) to a template but only to link to a resource that exist in another page.

This behaviour does not fulfill my use case where each new page created with the template needs to contain his own set of attachments.

Now, while it is not at issue (actually the desired behaviour) to attach the required files to the new page after creation from template, I would like to save the user the burden of editing the new page and inserting the images in the right location.

I would like to define in the template where which attachement shall be shown so that the user needs only to create the page with template and drag-and-drop the attachements. (Prerequisite would be, of course, that the attached files have exactly the same name as used in the template).

Is there a way to achieve this? How?

1 answer

0 votes

You can create a page on your confluence space where you put all the attachments that will be useful for your templates. (you can even hide this page by moving it on the top of your homepage while in "Reorder page")

Then when you create a template, go on "insert image", then select "search on other pages" and type the name of the image required. the image will be displayed as if it was attached and directly on your template. This is only in order to not host one hundred time the same image if you create one hundred pages based on this template.

Once you create a page base on this template, you can move the image everywhere you want on the page. You can even delete it if you need. If the image is deleted in the template it's okay.  

However, if the image is deleted in the source page, it will be deleted everywhere. But the good point is that if for example if you want to modify the image, you can just upload a new image with the same name on the source page and it will be replaced everywhere. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

462 views 3 18
Read article

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