image replacement in ajo | Community
Skip to main content
Level 4
January 3, 2025
Solved

image replacement in ajo

  • January 3, 2025
  • 1 reply
  • 439 views

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 @ivanmi1 

Best answer by Anuhya-Y

@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.

1 reply

Anuhya-Y
Community Advisor
Anuhya-YCommunity AdvisorAccepted solution
Community Advisor
January 6, 2025

@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.