breautek commented on issue #538: Best way to show it on a browser? URL: https://github.com/apache/cordova-plugin-camera/issues/538#issuecomment-565201123 the `cordova-plugin-camera` does not create divs nor puts images in the dom itself. Are you sure you're creating an issue on the right repository? Using this plugin you can do this but it involves a few steps. 1. use the `getPicture` API and receive a file uri 2. Use the `cordova-plugin-file` plugin to read the file into a blob object. 3. Use [createObjectURL(blob)](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL) to create an object url 4. The obtained object url can be placed anywheres where it accepts an image reference, such as an `<img>` tag or `background-image` css.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
