This is too vague, this is probably related to Confluence plugins, we should probably aim at handling the situation for each plugin instead. As we have several plugins relating to this, we may be able to come up with some generic solution or shared code. I will close this.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.