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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

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

Avatar

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

Avatar

Correct answer by
Level 2

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

Avatar

Correct answer by
Level 2

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.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now