Highlighted

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

asutoshj7327906

10-03-2019

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

Replies