Share your ideas

Allow to reference a published image via rendition name

Goal

Add ability to reference a published image via a rendition name, e.g.

* /delivery/v1/resources/3666d876-e143-4c29-b648-fc81be4039a0?rendition=mobile
* /delivery/v1/resources/3666d876-e143-4c29-b648-fc81be4039a0?rendition=desktop
* /delivery/v1/resources/3666d876-e143-4c29-b648-fc81be4039a0?rendition=tablet

As is

The URLs that can be used today are dynamic and need to be fetched via the content item / search index:

{
"image": {
"elementType": "image",
"renditions": {
"default": {
"url": "/dxresources/3666/3666d876-e143-4c29-b648-fc81be4039a0.jpg"
},
"mobile": {
"renditionId": "20c0a4e6-31ae-44aa-8975-a63a6dcc09db",
"url": "/dxresources/3666/3666d876-e143-4c29-b648-fc81be4039a0.jpg?resize=720px%3A405px&crop=720%3A316%3B0%2C45"
},

  • Guest
  • Feb 25 2020
What is your industry? Non-Industry Specific
What is the idea priority? Medium
  • +9