Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Database image as background image CSS

$
0
0

Hello,


I have one image saved in database as binary and i want to add it to the css property "background". The way that i found was with: "background: url(data:image/png;base64,<base64 image content>)".


I tried to add it via inline style however OutSystems truncates the string (e.g. it only appears "background: url(data:image/png)"), and because of this the image is not loaded.


Anyone have any idea what the plaform does in this situation and what is the solution for this problem.


Note: I now that inline style is not the best practice however in this case for design purposes i really need it!


Best regards,


Rui Gomes



Viewing all articles
Browse latest Browse all 1476385

Trending Articles