How to get the URI of the actual image for upload ?
See original GitHub issueHello gents!
I’m having issues understanding how to get the actual path of the files so I can upload them ? The array of images sent back from the picker is as follows:
data: {
filename: "IMG_0005.JPG",
height: 2002,
isStored: true,
playableDuration: 0,
uri:"assets-library://asset/asset.JPG?id=ED7AC36B-A150-4C38-BB8C-B6D696F4F2ED&ext=JPG",
width: 3000
}
I understand I need to use “data.filename” … but what’s the absolute path ? Where or how to get it from ? Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
4 Ways to Get the URL for Pictures - wikiHow
1. Open the Google Image search page. Go to https://images.google.com/ in your computer's web browser. This will open the Google search page for...
Read more >How to Get the URL for Pictures - YouTube
Suppose, you liked an online image and want to use the link of this image in your presentation. Then you need a URL...
Read more >How do I get the URL of an image on my computer? - Quora
Type Control-O in the browser. In the file selector, navigate to your Desktop and double click on the file. It will open up...
Read more >How to get image file uri from media entity id | Drupal.org
Once you have the media id, you can load, then get the image's fid and load that. use Drupal\media\Entity\Media; use Drupal\ ...
Read more >How to Get the URL of Images You Upload in WordPress
You can get the attachment URL next to the 'Copy Link' option on the right column. We hope this article helped you to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ended up not using
RNFetchBlob
, but usingBuffer
instead.This is what we currently use, in production:
Nevermind, fixed it 😃