This should be the default IMO (ie don't show attachments by default) + add a parameter to show attachments. The main use case for this macro is to display children pages.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.