Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

nareshg43484979
Level 1
Level 1

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

1 Accepted Solution
eharris3
Correct answer by
Employee
Employee

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.

View solution in original post

1 Reply
eharris3
Correct answer by
Employee
Employee

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.

View solution in original post