Different parts of the document are parts of the analysis for finding words match, but we never check added / edited attachments. That might be something interesting in the future.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.