jpg/jpeg/gif/png/bmp inline images will be shown as a thumbnail.

It works only if a thumbnail image file is provided by the user,
else the usual full-sized image will be inlined.

If the full-sized image has pathname "yourpath/yourfile.jpeg", the
thumbnail should have pathname "yourpath/yourfile.preview.jpeg".