Image attachments are not displayed inline in wiki renderer fields

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Image attachments do not display inline in wiki renderer fields when using the wiki markup such as !image.png! in a JIRA issue. For example:


Diagnosis

All other wiki markup appear to be working fine e.g. [^image.png]. (But you may also have interference with other wiki markup next to the image.)

(info) If the case is that no wiki markup is working at all, you may want to look at this other KB article instead: [ARCHIVED] Wiki markup does not work in text or comment field

Cause

In JIRA's General Configurations Settings, the option "Internet Explorer MIME Sniffing Security Hole Workaround Policy" has been set to "Secure: forced download of attachments for all browsers". When set to 'secure' this disables the ability to render any attachments inline without downloading, including images unfortunately. This applies to all browsers. 

There was a suggestion raised in  JRA-43914 - Getting issue details... STATUS  to remove this as IE7 is no longer supported, but it was deemed to be a still necessary security measure but not directly related to just IE7 anymore. Instead  JRASERVER-45348 - Getting issue details... STATUS was raised to rename the setting to a more appropriate name.

Workaround

To display inline images in JIRA fields try set the "Internet Explorer MIME Sniffing Security Hole Workaround Policy" option to either "Insecure: inline display of attachments" or "Work around Internet Explorer security hole".

Cloud customers might have to contact the Atlassian Support to have the workaround applied.


Last modified on Nov 25, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.