Expand my Community achievements bar.

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?