Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Set the background image using native camera plugin

$
0
0

@F-Alex wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>