I think we need an extension for images.
You need to explicitly tell it is a image if it has no image extension:
markdown:

becomes
BBCode:

becomes
Or cheat with some query string:
https://cloud.disroot.org/s/RSZgiiS4AmpicEF/preview?format=.jpg
becomes