How to have upload image to plugin folder, and use this image in css

Suggest code examples?

background-image: url(/plugins/MY_PLUGIN/images/bg.png);

And manage the styles of this image from the admin-panel
example

background-position-x, etc
1 Like

my problem is solved using a theme - Include images and fonts in themes and components

thanks

2 Likes