Expand my Community achievements bar.

Image not displaying after drag and drop on core image component

Avatar

Level 9
6 Replies

Avatar

Community Advisor

HI @Mshaji 
Can you check the renditions in the DAM for that image?



Arun Patidar

Avatar

Level 9

yes it has renditions Screen Shot 2022-09-20 at 9.27.56 AM.png

this error seems to be coming from core components adaptive servlet

https://github.com/adobe/aem-core-wcm-components/blob/main/bundles/core/src/main/java/com/adobe/cq/w... line 646

when I invoke the image directly on browser url I see the image

http://localhost:6502/content/el-xxxx/us/en/jcr%3acontent/root/container/container/image.coreimg.85.... 

Avatar

Community Advisor

Hi,

The correct path for the adaptive image looks like below, derived from component policy, I would recommend to check policy

 

http://localhost:4502/content/<page>/_jcr_content/root/container/container/carousel/item_1597262548470/image.coreimg.85.1600.png/1663171460384/banner-2.png

coreimg: Selector for adaptive image servlet

85: quality set from design policy or default

1600 : rendition from design dialog

png : extension

1663171460384 : modified date

banner-2.png : original image name

 

Do other projects' images work with adaptive servlets, such as in the Core Components example?



Arun Patidar

Avatar

Level 9

Even this image works fine if I refresh the page, this issue happens only when I drag and drop image on image component or parsys. 

Avatar

Community Advisor

ohh ok not sure then you can raise a issue at https://github.com/adobe/aem-core-wcm-components/issues 



Arun Patidar

Avatar

Level 9

I already have this issue on  github

 

https://github.com/adobe/aem-core-wcm-components/issues/2315