Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't able to upload image from asset library file path #5

Open
sw-tt-keyurprajapati opened this issue Jun 13, 2017 · 1 comment

Comments

@sw-tt-keyurprajapati
Copy link

From library or picker, i get image asset url like: "assets-library://asset/asset.JPG?id=AC072879-DA36-4A56-8A04-4D467C878877&ext=JPG". I am able to view image in tag source, but when i try to upload on server using code like :
var fd = new FormData();
fd.append('photo', {
uri: imageUri,
type: 'image/jpeg',
name: 'photo.jpg'
});
image unable to upload on server.

@MrHubble
Copy link

MrHubble commented Apr 4, 2018

@sw-tt-keyurprajapati were you able to solve this problem?

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

No branches or pull requests

2 participants