내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

Image Core Component Issue in Publish Instance

Avatar

Community Advisor

Is there any known issue with image core components in publish instance? It is loading fine on author but not on publish. I am noticing the image url shortening which is not letting the image to load. I am on 6.5.12 and using core component version 2.19.0

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor
The issue is when we create a AEM Project using latest Maven Archetypes, it creates the following OSGI default config.publish for the URL Mappings
/apps/myproject/osgiconfig/config.publish/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.cfg.json
Removing this config fixed the image display issue in publisher.

원본 게시물의 솔루션 보기

7 답변 개

Avatar

Community Advisor

Hi,

Image url shortening should not create an issue if you have proper url mapping at apache. 

You may have issue only in publish but not on end user site if accessing directly from publish and by passing dispatcher.

Can you please check if you have those mapping for image url as well?

 

Core component works with path shortening as well.

Arun Patidar

AEM LinksLinkedIn

Avatar

Community Advisor

Hi @arunpatidar Thank you for your reply ! Let me try verifying url mapping at apache. But I feel that it is good if proper image loads on publish as well.

Avatar

정확한 답변 작성자:
Community Advisor
The issue is when we create a AEM Project using latest Maven Archetypes, it creates the following OSGI default config.publish for the URL Mappings
/apps/myproject/osgiconfig/config.publish/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.cfg.json
Removing this config fixed the image display issue in publisher.

Avatar

Level 3

Deleted the JcrResourceResolverFactoryImpl.cfg.json but still the /content/app not resolving the image. 

Avatar

Community Advisor

Hi @gvaem Is the issue happening in Auhtor instance or Publisher. Please add some more details.

 

Thanks,

Ganthi.

Avatar

Level 3

Issue is happening in Publish environment. Author looks good.

So in the image url if the "/content/app/en/_jcr_content/root/container/image_copy_copy.coreimg.jpeg/1708126502377/Imge.jpeg" works fine. But the url is resolving as "/en/_jcr_content/root/container/image_copy_copy.coreimg.jpeg/1708126502377/Imge.jpeg" so images are not loading

Avatar

Level 3

This is happening in Publish instance. Author looks good.

For the image in publish instance "/content/app/en/_jcr_content/root/container/image.jpeg/1708126502377/image.jpeg" but image component renders "/en/_jcr_content/root/container/image.jpeg/1708126502377/image.jpeg"