Closed meredevelopment closed 5 years ago
Hi, I've just attempted to use the noop config setting and see it's not working because it's not been completed:
noop
if ($config->getSetting('noop', $transform)) { // todo : just return source image unmodified }
For now I've added this to the transform function in the CraftTransformer class as a workaround but would like to see it in the core please.
transform
CraftTransformer
if (ImagerService::getConfig()->getSetting('noop')) { $msg = Craft::t('imager', 'Noop activated, returning “{path}”.', ['path' => $sourceModel->url]); Craft::info($msg, __METHOD__); $transformedImages[] = $sourceModel; return $transformedImages; }
Thanks!
This has been fixed for the next release.
Hi, I've just attempted to use the
noop
config setting and see it's not working because it's not been completed:For now I've added this to the
transform
function in theCraftTransformer
class as a workaround but would like to see it in the core please.Thanks!