Posted on 12 August 2012, in Confluence, technical writing and tagged caption, Confluence, image. Bookmark the permalink. 14 Comments.
- Join 4,870 other subscribers
Blog Stats
- 1,482,560 hits
Recent comments
Where is Sarah? | ff… on Farewell Google Sarah Maddox on Farewell Google dgbh on Farewell Google Sarah Maddox on Farewell Google Pswart2010 on Farewell Google Sarah Maddox on Farewell Google Sarah Maddox on Farewell Google Vikas Wadhwa on Farewell Google ricardovidallon on Farewell Google Sarah Maddox on Farewell Google Sarah Maddox on Farewell Google Sarah Maddox on Farewell Google Sarah Maddox on Farewell Google Sarah Maddox on Farewell Google Michael McCallister on Farewell Google -
Recent posts
- Where is Sarah?
- Farewell Google
- Write the Docs Australia 2023: Session recordings now available
- Understanding AI and helping it understand you (Write the Docs AU 2023)
- Comprehensive list of tools and other info for tech writers
- Writing internal vs external docs: what’s the difference
- Joking with ChatGPT about technical writing
- Role of a technical lead (TL)
- Financial impacts of good or bad communication
- Linking the curse of knowledge, imposter syndrome, and metaknowledge
Top 5 Posts
Posts by month
Categories
Sarah on Twitter
My TweetsDisclaimer
This blog expresses my own opinions and ideas. They're not necessarily the same as those of the company I work for.
Meta
Copyright licence
Great tip, Sarah. The attachment comment can also be used as a caption with the gallery macro, as some brilliant tech writer has documented at https://confluence.atlassian.com/display/DOC/Gallery+Macro 🙂
Hallo Tim
Thanks, that’s a good point! I’ve added the word “caption” on the page for the Gallery macro, to make it come up in the search. The page previously referred simply to “comments”, not to captions.
Cheers
Sarah
Hi Sarah,
Great, hidden feature!
If only the title was added as title-attribute this would be even more awesome – and the Scroll Exporters would pick up the page title automatically.
Cheers,
-Stefan
Hallo Stefan
Yes, it would be great if Confluence used a commonly-recognised element to store the caption. On the other hand, there’s quite a bit of debate on the web, about using the HTML title element to store captions. People are concerned about the accessibility aspects. Here’s an example of such a discussion: http://www.paciellogroup.com/blog/2012/01/html5-accessibility-chops-title-attribute-use-and-abuse/
People also mention the HTML5 figcaption element:
http://dev.w3.org/html5/spec/the-figcaption-element.html#the-figcaption-element
I’m no expert in this field. Do you have any further ideas on this point?
Cheers, Sarah
I am also no expert on accessibility, but it would make sense to have the title in a machine readable format (read: HTML attribute). Not only for the Scroll Exporters, but also for screen readers and for SEO..
Hi Sarah,
great tip! It would be very nice if all image styles supported captions, not only the instant camera style.
Cheers,
Stephan
Hallo Stephan
Yes, you’re right. Another limitation is that you can only add a caption to an image that is attached to a Confluence page. And it would be nice if the caption would persist across versions of the image.
Still, it’s a great start. 😉
Cheers
Sarah
Is there anyway to change the formatting of the text entered as the caption?
Hallo traci
I haven’t tried it myself, but it should be possible by adding CSS to your space. Here are the docs:
https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS
Cheers, Sarah
Thank you Sarah, I speculated that the change would be made there, but I wanted to verify before heading off into CSS Land.
These captions can be seen in your browser, but don’t appear in the pdf or html exports 😦
That’s true. If you really need the captions to be exported, you may want to have a look at the (commercial) Scroll Exporter Add-Ons, which do export the captions. More Info: https://marketplace.atlassian.com/vendors/7016
-Stefan
It’s difficult to use, and one cannot replace the horrible font. Unfortunately, It looks like Atlassian won’t be fixing this issue, since a commercial addon exists-
Wow! So very badly implemented – still. Thanks though for sharing Sarah.
As BO noted, the font is horrible. Additionally, if your caption is too long it just truncates. I won’t be using this.