We have a smart crop image processing profile created with 4 variations. These rendition can be see in the author mode and can be edited for every individual image in AEM.
When we use assets with these smart crop renditions on a page, URL is changing based on the screen size but asset focus is not.
for example, both URLs mentioned below are rendering the image with different size(width & height), whereas it should display different variations of smart-crop renditions with pre-defined image focus areas.
https://xyz.scene7.com/is/image/abcdef/imageabc:Very-Small
https://xyz.scene7.com/is/image/abcdef/imageabc:Large
very-small and large are name of smart-crop renditions.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
The URLs you mentioned are rendering the image with different sizes, but they are not specifically targeting the smart-crop renditions. To display the different variations of smart-crop renditions with pre-defined image focus areas, you need to append the rendition name to the URL using the "wid" parameter.
For example:
https://xyz.scene7.com/is/image/abcdef/imageabc?wid=very-small https://xyz.scene7.com/is/image/abcdef/imageabc?wid=large
By including the "wid" parameter with the rendition name, the image will be rendered with the specific smart-crop rendition and its associated focus area.
If you see the preview in the asset's rendition rail menu, are you seeing the wrong variation reflected? It sounds like the rendition maybe not be published correctly, Can you try to republish the rendition? and check that this made to DynamicMedia?
Hi,
The URLs you mentioned are rendering the image with different sizes, but they are not specifically targeting the smart-crop renditions. To display the different variations of smart-crop renditions with pre-defined image focus areas, you need to append the rendition name to the URL using the "wid" parameter.
For example:
https://xyz.scene7.com/is/image/abcdef/imageabc?wid=very-small https://xyz.scene7.com/is/image/abcdef/imageabc?wid=large
By including the "wid" parameter with the rendition name, the image will be rendered with the specific smart-crop rendition and its associated focus area.
Views
Likes
Replies