fixed image attachment caching