Zenphoto does generate cached resized images on the file whenever an image function is called and the page visited the first time.
Do you mean generate/pre-cache via the cacheManager then?
If your theme for example uses custom image sizes within the theme files and does not use these standard options, the backend and thus the cacheManager will not know about them. It will just use the standard options instead. So your themeoptions.php file needs to register the required custom sizes in ThemeOptions constructor like this:
`
if (class_exists('cacheManager')) {
$me = basename(dirname(__FILE__));
cacheManager::addThemeCacheSize($me, NULL, 580, 580, NULL, NULL, NULL, NULL, NULL, false, NULL, true);
}
`
Add further `cacheManager::addThemeCacheSize()` to cover all sizes you use in your theme. Parameters except the first follow the standard customsizedimage function parameters.
The Zenpage theme also provides an example