inline_images does not show all images
|Reported by:||roundreport||Owned by:|
The 'inline_images' parameter checks if an attachment is of mime-type 'image/*' to see if it's an image that can be displayed, but this check is not enough to display all images.
Many email clients use 'application/octet-stream' (mostly) to attach images. Any attachment generated by roundcube itself is of type 'application/octet-stream'.
It would be nice if the filename itself would be checked for an image extension (at least the most common ones).
See the attached patch which implements this functionality.