Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Get scene7 urls of assets published from AEM author?

Avatar

Level 6

Hello

I would like to get the absolute dynamic media/scene7 url of assets and its renditions in AEM Java.
My setup is like this, on AEM cloud author the image is uploaded and is then published to dynamic media scene 7. No publisher instance is there. 

How do I get the scene7 urls of assets and its renditions?

1 Reply

Avatar

Level 4

Hello,

in case you want to use DM image URLs on author, you should set the DM configuration to push assets on upload, not publication.

Then, you can use DM asset properties to construct the image URL in your backend code:

  • You can use DM domain or setup your custom domain (ask Adobe support for help)
  • /is/image is the path used for images, /is/content for other types of content
  • after that you need to use your DM tenant in the URL
  • the last part of the URL is your image name
  • in case you want to use a Smart crop, then define the smart crop name after :

Here is an example: https://s7g10.scene7.com/is/image/assaabloydev/research-trio-16x9:4x3 

 

Hope this helps,

Daniel