The simpler media website CMS
I'm adjusting the cache sizes that are coded in ThemeOptions for my zpbootstrap-dark. The larger sizes are now correct, but I need to correct the thumbnail generation
ZP is generating the bottom 2 thumbs while the top 2 are generated on the fly by the theme.
The current code is thus:
cacheManager::addCacheSize($me, NULL, getOption('zpB_album_thumb_width'), getOption('zpB_album_thumb_height'), getOption('zpB_album_thumb_width'), getOption('zpB_album_thumb_height'), NULL, NULL, NULL, $thumb_wmk, $img_effect, false); cacheManager::addCacheSize($me, NULL, 1000, NULL, NULL, NULL, NULL, NULL, NULL, $img_wmk, $img_effect, false); cacheManager::addCacheSize($me, NULL, NULL, NULL, 360, 360, 180, 180, $thumb, $img_wmk, $img_effect, false);
The 2nd & 3rd lines are generating the correct sizes now, but I'm presuming the first line needs re-coding, to produce the thumbs required for the theme.
Can I get some advice on correcting this? I've studied the other supplied themes but can't seem find an example.
Thanks!
Comments
Hard to say, the 1st one is normal cropping usage which naturally depends on the values passed from those options. It is technically the same cropping usages as the 3rd just without the xy start parameters.
We will be publishing a image processor guide soon that also may help a little.