Solved! Go to Solution.
Views
Replies
Total Likes
The configurations provided through policies (design dialog) will be used to select a "rendition" of the image in the given "width", BUT if you don't have a rendition, the image core component will try to fetch the "next higher" rendition, till return the default (original) rendition. So make sure your assets actually have the renditions available for the configuration set in the policies (design dialog).
The configurations provided through policies (design dialog) will be used to select a "rendition" of the image in the given "width", BUT if you don't have a rendition, the image core component will try to fetch the "next higher" rendition, till return the default (original) rendition. So make sure your assets actually have the renditions available for the configuration set in the policies (design dialog).
hello @kiran_22_12
"The Adaptive Image Servlet will try to pick the best rendition for the requested image size and type. It's recommended that DAM renditions and Image component allowed widths are defined in sync so that the Adaptive Image Servlet does as little processing as possible. This will improve performance and avoid some images not being correctly processed by the underlying image processing library." -from https://github.com/adobe/aem-core-wcm-components/wiki/the-adaptive-image-servlet
For best results, the image renditions should be close to srcset confugurations. Else, library will choose the next best available and process as requested image URL
I have these renditions generated, so. I modified widths to check what you said & now, It always picks 1280 no matter what size the screen is.
Views
Likes
Replies