The simpler media website CMS
I use in my theme this function
printCustomSizedImage(gettext('Gallery'), NULL, 1140, 400, 1140, 400, NULL, NULL, 'img-fluid');
it generates the proper image with correct file name, perfect.
I wish to precache this size in my theme:
cacheManager::addCacheSize($me, null, 1140, 400, 1140, 400, null, null, false, false);
It generates a deformed image (width is reduced) with a file suffix w267_h400_cw1140_ch400
Can you give me the rule on how to get the proper CacheSize file?