trying to integrate imgcache