Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

Show cropped image #61

Open
TeodorKolev opened this issue Feb 22, 2018 · 3 comments
Open

Show cropped image #61

TeodorKolev opened this issue Feb 22, 2018 · 3 comments

Comments

@TeodorKolev
Copy link

TeodorKolev commented Feb 22, 2018

How to get actual image file and show it in view? Also I am trying to get cropped and send it to server. How can I do that? Code I tried:

return this.camera.getPicture(this.options)
    .then((fileUri) => {
        if (this.platform.is('android')) {
            return this.crop.crop(fileUri).then((path) => {
            this.imgUrl = path;
        });
     }
 });

<img [src]="imgUrl" />
which not showing any image
Code returns me path, in format: file:///storage/..... but image is not shown.

@eduardogiorgio
Copy link

I have de same problem.

@lfreneda
Copy link

lfreneda commented Feb 5, 2019

@TeodorKolev did you fix it somehow?

@mateoc10
Copy link

mateoc10 commented Sep 4, 2020

2020 and I have the same problem. Could you solve it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants