Highlighted

Unable to find dependency for ImageDelivery service.

abhigyans406402

30-05-2018

Hi All,
I am working on AEM 6.4 where we need to validate if dynamic media is enabled and do further operations on that.
In previous versions, we use to find it via

this.enabledDynamicMedia = DynamicMediaHelper.isDynamicMediaEnabled(getResource().getResourceResolver();

but in the latest release "isDynamicMediaEnabled" is Deprecated and it is suggested to Use isEnabled() method provided by ImageDelivery service instead

however, I am not able to find the maven dependency for the same to include in the project.
any hint will be appreciated.

Thanks.

Replies