How do I insert an image into a Global Tempate?
Asked by Dallas Devam:

How is this possible? Why is there no simple Insert Image in the Global Template editor in confluence?


Answers:
author: Dave Liao
body: On Confluence Cloud, you can use the Excerpt and Excerpt Include macros to get around this.

1. Make a separate page. On that page, add the image you want to put in the template.
2. Place the image in [an Excerpt macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-include-macro/).
3. On your global template, use an "Excerpt Include" macro, then pull the page from step 1.

I just confirmed this in my Confluence Cloud instance, to add an image to my Announcement widget on my dashboard.

comments: author: M_ Ludwig
body: Hi all,

unfortunately this solution does not work in cloud.

Error is:

Error rendering macro 'excerpt-include' : No link could be created for '\<pagename\>'.


author: Dallas Devam
body: I found a work around for confluence cloud!!!

Create a new User and upload your image as the user profile image;

Then the Template will allow you to insert Confluence Content\>User Profile Image

![screenshot-cropsify.atlassian.net-2019.07.24-17-36-15.png](https://community.atlassian.com/t5/image/serverpage/image-id/61384i194B2A36DB5F1773/image-size/large?v=v2&px=999 "screenshot-cropsify.atlassian.net-2019.07.24-17-36-15.png")![screenshot-cropsify.atlassian.net-2019.07.24-18-02-02.png](https://community.atlassian.com/t5/image/serverpage/image-id/61385i7E2F7FD9C1E40393/image-size/large?v=v2&px=999 "screenshot-cropsify.atlassian.net-2019.07.24-18-02-02.png")

comments: author: Dee
body: Not gonna lie.. this is a devilishly creative workaround! :)


author: Dallas Devam
body: I want what I want and gonna get it how ever I gotta get it; muhahaa!


author: Dallas Devam
body: I found bugs; the Public Picture image doesn't stick to a document Export to Word or Export to PDF.

And in the word .doc; tables are not formatted to the correct width/size. Confluence failed to include Table Property for Table Size Percent xx


author: Dee
body: Hi Dallas,

This open issue might be relevant to that: <https://jira.atlassian.com/browse/CONFSERVER-52836>

There is a workaround in the Jira issue, full disclosure, I haven't tried it, but it might work for your use case..

Let me know how you get on..

Dee


author: Dallas Devam
body: No it's not relevant; my image is not inside the table.


author: Dee
body: Darn.


author: Dee
body: Hi Dallas,

Your question got me thinking! :) I did a little test on Confluence Server and found the following:

* Whilst you can't ***attach***an image to a global template
* You can include an image that is attached somewhere else in confluence

![Screen Shot 2019-07-25 at 8.41.23 am.png](https://community.atlassian.com/t5/image/serverpage/image-id/61372iFCCF328344501A89/image-dimensions/599x295?v=v2 "Screen Shot 2019-07-25 at 8.41.23 am.png")![Screen Shot 2019-07-25 at 8.42.00 am.png](https://community.atlassian.com/t5/image/serverpage/image-id/61373i40E902A3075DF559/image-dimensions/597x336?v=v2 "Screen Shot 2019-07-25 at 8.42.00 am.png")![Screen Shot 2019-07-25 at 8.42.10 am.png](https://community.atlassian.com/t5/image/serverpage/image-id/61374iC7F2B7B56F3ADC4A/image-dimensions/596x460?v=v2 "Screen Shot 2019-07-25 at 8.42.10 am.png")

I also discovered a little bonus feature (or bug, you decide)

You can upload a new version the image directly to one page created from the template and it alters it for ***every page*** created with that template.

I changed myself into a fleur-de-lis!

![Screen Shot 2019-07-25 at 9.00.30 am.png](https://community.atlassian.com/t5/image/serverpage/image-id/61375i5E69F3FEF27893CC/image-dimensions/562x539?v=v2 "Screen Shot 2019-07-25 at 9.00.30 am.png")

comments: author: Dallas Devam
body: I'm using confluence cloud and don't see the insert files button in templates.

![screenshot-cropsify.atlassian.net-2019.07.24-17-09-34.png](https://community.atlassian.com/t5/image/serverpage/image-id/61382i04C7D2716BE1F4A4/image-size/large?v=v2&px=999 "screenshot-cropsify.atlassian.net-2019.07.24-17-09-34.png")


author: George de los Santos
body: I do not believe that this functionality exists for security issues.