Expand my Community achievements bar.

SOLVED

AEM Smart crop - Issues

Avatar

Level 1

Hello All,

Am facing few issues with the AEM smart crop :

1. We have dynamic media settings on, Still am not able to publish the images.

 

2. Am not seeing any image profiles, though i have created many till now.

 
Updating Media

3. In the dynamic media component when am selecting the smart crop and returning back the smart crop is not selected anymore.

 

tulasi21_1-1624041230596.png

 

 

Sorry so many issues, I feel this smart crop is so painful

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

Welcome to Adobe AEM Community

What is the exact version of your AEM instance?

What run mode is used to Dynamic Media?

Have you applied any Smart Crop image profile to a folder, where assets are placed on uploaded?

Are you able to reproduce that component issue with different pages?

Thanks,

Vikram Gaur

 

View solution in original post

8 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

Welcome to Adobe AEM Community

What is the exact version of your AEM instance?

What run mode is used to Dynamic Media?

Have you applied any Smart Crop image profile to a folder, where assets are placed on uploaded?

Are you able to reproduce that component issue with different pages?

Thanks,

Vikram Gaur

 

Avatar

Level 1

Hello Vikram, 

Please see the answers below:

1. AEM version :  6.5.8.0 

2. Have you applied any Smart Crop image profile to a folder, where assets are placed on uploaded? _  Yes, I did.

3. Are you able to reproduce that component issue with different pages?- Yes tried this outof box component on experience fragments and content pages too. Same issue, the smart crop option is not getting saved. 

By default first option "Image Preset" is getting stored.

4. What run mode is used to Dynamic Media? - Its on .

 

Also I noticed adding a new "

Responsive Image Crop

" in the image profiles is not getting honored. can we add our custom dimensions?

 

Thanks for your help.

 

Thanks,

Tulasi.

Avatar

Employee Advisor

Hi Tulasi,

Thank you for your response.

I am assuming, you have "dynamicmedia_scene7" run mode on your AEM 6.5.8 Author instance.

Have you created a Dynamic Media configuration (Tools -> Cloud Services -> Dynamic Media Configuration)

If yes, when you click on Tools -> Assets -> Viewer Presets, do you see a list of Viewer Presets?


To answer you question, you may click on Tools -> Assets -> Image Profiles and edit you "Smart Crop Profile" to add another Responsive Image crop with custom dimensions.

Avatar

Level 2

Hi All,
I m facing same issue, when I select smart-crop option it is always showing Viewer Preset option as selected.

shafali12_0-1661440009204.png

Have all the configs done as mentioned by you above

 

Can anyone please suggest what else I m missing to make smart crop work in DM component ?SDK Version: 2022.7.8085.20220725T140323Z-220700

Avatar

Level 1

Hi  shafali12

 

Did you get this working? I am getting same issue in AEM Cloud version.
 

Avatar

Level 1

Hi @vaibhav3 

Check the image component Javascript file, there might be some errors preventing dialog window to update smartcrop settings.