Set the background image using native camera plugin


#1

Hi all, I want to set a background image for my ion-content. I’d like to add it using background-image: url('../assets/imgs/my_image.jpg') in the CSS but I want the image to be uploaded from the user using the cordova-plugin-camera. With this plugin I can take a picture with the camera or upload it from the gallery, I can even display it in the HTML, but I have no idea how to set the background with that image.
Anyone can solve this problem?
Thanks in advance