Scene7 Image Profiles - Broken image if no profiles for an asset. | Community
Skip to main content
nareshg43484979
July 24, 2019
Solved

Scene7 Image Profiles - Broken image if no profiles for an asset.

  • July 24, 2019
  • 1 reply
  • 2106 views

Hi,

I am trying to implement smart crops for custom built component.

After adding Image profiles to an Image say Small , Medium and Large as shown in the below documentation.

https://helpx.adobe.com/experience-manager/6-4/assets/using/image-profiles.html

I am able to access the Images using scene7 server as

www.scene7serverpath.com/images/ImageName:Large

www.scene7serverpath.com/images/ImageName:Medium

www.scene7serverpath.com/images/ImageName:Small

But , if I have an image in scene7 but ImageProfiles are not applied to that asset/folder,  Is there a way to determine if an image has profiles setup or not using scene7 API ? so that i can do a sightly test check and have a dam fallback image instead of broken image?

I can see that OOTB dynamic media component gets the fall back image by adding ?wid=val1&hei=val2 .  But how can I achieve that for custom aem component. Please help.

Using:  Dynamic media scene7 mode

AEM 6.4 sp3

Thank you,

Naresh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edh82899156

Hello Naresh,

Unfortunately, no.  The Smart Crop data isn't stored anywhere in the Scene7 servers that is exposed by an API you could query.

1 reply

edh82899156Adobe EmployeeAccepted solution
Adobe Employee
August 15, 2019

Hello Naresh,

Unfortunately, no.  The Smart Crop data isn't stored anywhere in the Scene7 servers that is exposed by an API you could query.