Solved
Extend AEM GraphQL with renditions and Dynamic Media URL
As you can see here;
I query an Image from a CF.
Anyone has an idea how one could extend that so I can get all image renditions and/or dynamic media URLs for that image?
Best
As you can see here;
I query an Image from a CF.
Anyone has an idea how one could extend that so I can get all image renditions and/or dynamic media URLs for that image?
Best
GraphQL now supports "Dynamic Media URLs". Example:
{
"data": {
"adventureByPath": {
"item": {
"_path": "/content/dam/wknd-shared/en/adventures/bali-surf-camp/bali-surf-camp",
"title": "Bali Surf Camp",
"primaryImage": {
"_dynamicUrl": "/adobe/dynamicmedia/deliver/dm-aid--a38886f7-4537-4791-aa20-3f6ef0ac3fcd/adobestock_175749320.jpg?preferwebp=true&width=1000&quality=80"
}
}
}
}
}
For more details, please refer to:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.