This can be done via the Terminal
Close Apple Mail
Open the Terminal via Applications -> Terminal
Execute the following command from the Terminal Window
defaults write com.apple.mail DisableInlineAttachmentViewing -bool yesRestart Apple Mail and the images won’t appear inline anymore