memcache support for images