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

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

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

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

26-01-2020

Can someone provide some suggestion?