@divyanaireficaz wrote:
Hi all,
I want a preview of an image before uploading to server. Currently I can upload the image to server but before that I want to preview the image. My code is like
" this.camera.getPicture({
sourceType: this.camera.PictureSourceType.SAVEDPHOTOALBUM,
destinationType: this.camera.DestinationType.FILE_URI
}).then((imageData) => {…"
if I change “destinationType: this.camera.DestinationType.DATA_URL” preview is possible but cant upload. I want both the features. What can I do? Please help me…Thanks
Divya
Posts: 1
Participants: 1