Forced inline images without id's to show as attachments

One test functional, but other isn't.

Final unit tests are functional

Bug 851963 - Fixed issue where ios shared images would not appear as attachments