added image cache for the text attachments of image type, which are loaded from files
Merge pull request #275 from minorblend/imageCache

added image cache for the text attachments of image type