bug: bugs with attached image preview
Merge pull request #77 from Jureth/attach_image_fixes

attached image preview fixes