Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Exclude images from Space Attachments macro


My apologies if this has been answered elsewhere.

Is there any way of excluding image files from the Space Attachments macro without having to resort to behind the scenes hacks?

Surely this should be a simple "Exclude Filter by Extension" feature in the report header.



1 answer

0 votes
Dominic Lagger Community Leader Sep 29, 2020

Hi @Andy Folland 

I don't think that this is possible with the Space Attachment macro.

What do you want to achieve, what is your goal? Perhaps we can find another way, which fits perfect for you.

Regards, Dominic

Hello Dominic,

Many thanks for replying.
I just want a report to list out all the attachments (.DOCX, .PDF, .XLSX etc) in my space but not including the images that are embedded in my pages.

IMHO there is an argument to say that embedded images aren't really "attachments" per se. I would say that embedded images should be considered part of the page content really, and perhaps not considered as attachments at all.
But whatever - that's a separate debate. If I could just use the Space Attachments macro and exclude the image files, that would work for me.



Dominic Lagger Community Leader Sep 30, 2020

Hi @Andy Folland 

Okay, I see and agree with you about the attachments :) 

The problem here is, that an image can be attached to the site without beeing embedded in the page.

Probably you could write an user macro.

Or perhaps you can make a SQL. This should help you

Regards, Dominic

Hi Dominic,

Thank you once again.

I suspect I am not techie enough to be able to do this + I wouldn't be permitted to chuck user macros into our Production environment anyway.

Nevertheless I shall have a peruse and see if I can improve my Confluence skills a bit.




Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

107 views 0 3
Read article

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