Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Static Reference Rewriter - Rewrite background-image from in-line style


Community Advisor

Hi All,

I have a requirement of loading all the assets from a different domain, and I am able to achieve the functionality using ACS Commons - Static Reference Rewrite Transformer Factory and Apache Sling Rewriter configuration.

It's able to rewrite all the links and dam assets, but some component I have the images are loading from style tag with background-image property and it's not able to rewrite the background-image property even though the content is loading from DAM path.

Any suggestions?

Static Reference Rewriter

Screen Shot 2019-03-10 at 2.15.30 PM.png

1 Reply


Community Advisor

Can someone provide some suggestion?