Layer Dynamic Media Assets from scene7 URLs in AEM Assets | Community
Skip to main content
typehack
Level 2
October 30, 2023
Solved

Layer Dynamic Media Assets from scene7 URLs in AEM Assets

  • October 30, 2023
  • 1 reply
  • 1852 views

I would like to layer two assets (a still image and a play button) from AEM and deliver them as a single asset via a URL.

 

I think this IS possible but I'm not having any success ... OR is it not possible. If it is possible, are there any tutorials on structuring the URL to do this?

 

Thanks!

Adam

 

P.S. I'm not sure if I'm asking this question properly, so any help would be appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

@typehack My reply based on my experience on only place i have seen related to layers in PSD files.

https://docs.mktossl.com/docs/experience-manager-65/assets/dynamic/dm-general-settings.html?lang=en#photoshop-tab

and example of how to set up the text on top of the image(layer) from PSD. Again this can be done by using CSS. we use css all over the place to place the text/image.

https://experience-aem.blogspot.com/2020/05/aem-6540-creating-dynamic-media-classic-scene7-templates-for-image-text-overlays.html 

 

but after seeing layer docs you have sent, i have tested with 2 images with simple URL parameters , it worked in DM Scene7 , please see the below example which shows an logo inside the bigger background image, hope this is what you are looking for. Good learning!

https://silabs.scene7.com/is/image/siliconlabs/matter-1-2-announcement?&hei=800&layer=1&src=siliconlabs/lura-health-logo

 

 

 

 

1 reply

Saravanan_Dharmaraj
Community Advisor
Community Advisor
October 30, 2023

@typehack AFIAK i don't think this layering feature is there in DM itself. however you can achieve the placing of play image on top of background image using the simple css.  

https://stackoverflow.com/questions/42462190/play-button-over-responsive-image-using-css

 

typehack
typehackAuthor
Level 2
October 30, 2023

Hi @saravanan_dharmaraj Thanks so much for your reply, I appreciate it.

 

Ahhh. Maybe I'm mis-understanding this feature in the current version of AEM? Maybe this is only for Dynamic Media Classic?

Layering in Dynamic Media

 

Thank you again!

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
October 31, 2023

@typehack My reply based on my experience on only place i have seen related to layers in PSD files.

https://docs.mktossl.com/docs/experience-manager-65/assets/dynamic/dm-general-settings.html?lang=en#photoshop-tab

and example of how to set up the text on top of the image(layer) from PSD. Again this can be done by using CSS. we use css all over the place to place the text/image.

https://experience-aem.blogspot.com/2020/05/aem-6540-creating-dynamic-media-classic-scene7-templates-for-image-text-overlays.html 

 

but after seeing layer docs you have sent, i have tested with 2 images with simple URL parameters , it worked in DM Scene7 , please see the below example which shows an logo inside the bigger background image, hope this is what you are looking for. Good learning!

https://silabs.scene7.com/is/image/siliconlabs/matter-1-2-announcement?&hei=800&layer=1&src=siliconlabs/lura-health-logo