Show image title in preview

Is there any option to show the image title in the preview?
We'd like to use this as a caption so the user knows what the image is about, e.g. in instructions

Thx, Anne

4 answers

Very interesting.

The problem is that confluence versions differ a lot. I have an older version that doesn't have any of the functions that you were talking about and I wasn't aware that there is anything like that.

About your question:

If you want to play around with CSS you can try something like:

img[title]:before, span[title]:before, a[title]:before {
content: " caption: " attr(title);
You probably would have to adapt that in some form but basically that will add the content of the title tag behind images and if I do that with the "All Attachements" macro in preview mode it looks like this:

2015-09-01 12_05_57-Bearbeiten - The Real Test - Steffen Heller - Lightweb.png








I am pretty sure that the answer is "No", but out of curiosity:

What do you mean with "image title in the preview"? The image title tag that shows in edit mode and then disappears when the page is saved?

...yes, should have been more clear, there a a lot of previews.


It's about the Title Text which you can add to an Image when implementing it on a page (not to the image itself - see screenshots below). Itwhen the cursor hovers over the image.


I'd like to use this title text as a caption when viewing the all the attachments of a page in the inline preview for the page. You can use the inline preview as kind of a slideshow but without a caption you loose the context when e.g. klicking through the images of an instruction page.
Basically I'm looking for a way to have an image caption displayed in the inline preview, wherever I need to add it (except for adding text on the image itself with photoshop or a screenshot tool .. wink )
Bildschirmfoto 2015-08-31 um 17.25.33.png
Bildschirmfoto 2015-08-31 um 17.25.17.png


Hi Steffen,

thanks! Will check whether I can adapt this to 5.8.5. and my needs and give feedback here.

Br, Anne

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,540 views 25 14
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