Why is the built in preview not working when utilizing the 'content by label' macro?

When using 'content by label' to compile a list of content, the attachments (PDF) are not being previewed but downloaded right away.
The preview function is working when I manually reference a PDF attachment on a page.
Why is content by label not allowing the preview. This is a strange user experience (UX)!
We don't want the attachments to be always downloaded, since that takes too long and user will keep outdated versions on their computer.

How can we get the preview working for content type 'attachment' when using the 'content by label' macro?

1 answer

1 vote
Ann Worley Atlassian Team Jun 29, 2017

It doesn't work for me on my Confluence 6.2.3 test instance, either, so I opened this suggestion for the dev team: As a user I would like PDF attachments to preview when displayed via content by label macro

I started to open it as a bug but I am not sure whether the intended behavior is to preview or download. As you pointed out, it is certainly an inconsistent experience as .png images do preview just fine in the content by label macro.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
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