diff --git a/bundles/core/src/main/webapp/app-root/components/image/v3/image.json b/bundles/core/src/main/webapp/app-root/components/image/v3/image.json index e0b4576b..4042c5cc 100644 --- a/bundles/core/src/main/webapp/app-root/components/image/v3/image.json +++ b/bundles/core/src/main/webapp/app-root/components/image/v3/image.json @@ -70,6 +70,20 @@ } } } + }, + + /** + * Special Smart Crop action for NextGen Dynamic Media + */ + "cq:actions": ["EDITANNOTATE","COPYMOVE","DELETE","INSERT"], + "cq:actionConfigs": { + "ngdm-smartcrop": { + "condition": "CQ.CoreComponents.image.v3.actions.smartCrop.condition", + "handler": "CQ.CoreComponents.image.v3.actions.smartCrop", + "icon": "cropLightning", + "order": "before CONFIGURE", + "text": "Smart Crop" + } } }, diff --git a/bundles/core/src/main/webapp/app-root/components/wcmio/responsiveimage/v1/responsiveimage.json b/bundles/core/src/main/webapp/app-root/components/wcmio/responsiveimage/v1/responsiveimage.json index 9530dc8e..5dfbdb24 100644 --- a/bundles/core/src/main/webapp/app-root/components/wcmio/responsiveimage/v1/responsiveimage.json +++ b/bundles/core/src/main/webapp/app-root/components/wcmio/responsiveimage/v1/responsiveimage.json @@ -81,6 +81,20 @@ } } } + }, + + /** + * Special Smart Crop action for NextGen Dynamic Media + */ + "cq:actions": ["EDITANNOTATE","COPYMOVE","DELETE","INSERT"], + "cq:actionConfigs": { + "ngdm-smartcrop": { + "condition": "CQ.CoreComponents.image.v3.actions.smartCrop.condition", + "handler": "CQ.CoreComponents.image.v3.actions.smartCrop", + "icon": "cropLightning", + "order": "before CONFIGURE", + "text": "Smart Crop" + } } },