Guys I am using AngularREST API . I want to retrive the contents from the plone and put it into the CSS .
I have image inserted into the page in "context.background.large.download" I want to place it on teh css tag "background:url(' ')"
Guys I am using AngularREST API . I want to retrive the contents from the plone and put it into the CSS .
I have image inserted into the page in "context.background.large.download" I want to place it on teh css tag "background:url(' ')"
Hi,
I guess the following should work:
[style.background-image]="'url(\'' + context.background.large.download + '\')'"
core.js:7090 WARNING: sanitizing unsafe URL value 'http://192.168.2.243:8080/xmplar/about-us-2/@@images/03228cfb-010d-4ead-a1aa-a0a39dc975b3.jpeg' (see Angular)
This error comes in angular