Filter messages by files
Go to the conversation details and hover your mouse over filters in the upper left of the screen (the Everything filter is selected by default) and select the Files filter. The message list in given conversation will update and only messages containing attachment(s) will be shown.
info_outline Note that an embedded image (via markdown) is not counted as an attachment. It's actually just a link to an image.