Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

image replacement in ajo

Avatar

Level 4

Hi Community,

 

How can I replace the background image in AJO using an image hosted on the AEM image repository, given the image ID and repository ID?"

And for your example:

we are trying to use something like this for background image:

 

But we're trying to replace it using this format:

css

background-image: url("data-medialibrary-id='urn:aaid:aem:439e6f71-4767-415e-9b9c-e84c244' data-mediarepo-id='author-p132462.adobeaemcloud.com'");

 

"How do I properly use AEM's Media Library ID and repository ID to dynamically reference an image as a background image in CSS?"

 

 

@DavidKangni @Anuhya-Y @Mohan_Dugganab @Ivan_Mironchuk 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Ajo_WisdomChase I believe this feature is currently not available in AJO. I recommend reaching out to Adobe Support, as they might consider incorporating this functionality in a future product enhancement.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@Ajo_WisdomChase I believe this feature is currently not available in AJO. I recommend reaching out to Adobe Support, as they might consider incorporating this functionality in a future product enhancement.