Images are not loading in local sdk | Community
Skip to main content
Level 3
June 16, 2023

Images are not loading in local sdk

  • June 16, 2023
  • 2 replies
  • 1386 views

Images are not loading in AEM pages though they are available in dam. See the below screenshot.

 

In browser console, I get 404. But I have those images in dam and the path given is correct too.

But the image loads in higher environments (AEM as a Cloud Service). I think I'm missing something in my local setup.

Any help is much appreciated. 

Thanks.

 

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

2 replies

aanchal-sikka
Community Advisor
Community Advisor
June 17, 2023

@rakesh_h2 

 

Requesting you to please verify following:

  1. What is the URL of the Image in Page?
  2. Is this URL same as the image in the DAM? If not, please check the asset thats configured in the component?
  3. Are the renditions created for the asset?
    • If not/unsure, try executing "Asset processing on SDK" workflow on the image.
Aanchal Sikka
rakesh_h2Author
Level 3
June 18, 2023

@aanchal-sikka 

Url is different. It's something like 'adobe/dynamicmedia/deliver/....'

rakesh_h2Author
Level 3
June 19, 2023

@rakesh_h2 

 

1. Have you started local AEM with "dynamicmedia_scene7" run mode? Have you set up configs for Dynamic Media

2. Have you synced these image from the higher env to local? Is the DM metadata available on these images?

3. Are these images published in higher environments, for them to be publicly available?


@aanchal-sikka 

1. I have started local instance in normal mode only. Even in "dynamicmedia_scene7" runmode, it doesn't work.

java -jar aem-author-p4502.jar -r dynamicmedia_scene7

2. I have pulled all the images from higher environments to local.

3. Yes they are published in higher environments and Its loading there. Issue only in local instance.

I get an error, 'connection failed' when I tried to connect to DM in local.

 

 

Jagadeesh_Prakash
Community Advisor
Community Advisor
June 19, 2023

@rakesh_h2  Are you facing this issue in your local author instance? 

 

I think you have dynamic media setup in your environments. Did you setup DM in your local ? Once check your connectivity DM from your local 

rakesh_h2Author
Level 3
June 19, 2023

Yes in local instance, both author and publish. Yes, dynamic media is setup. I have setup DM settings in local by bringing the changes from conf/global/settings/. But the connection is failing. But it works in higher environments. What am I missing?