Added imagecache handling for images