question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image from local storage not shows when has empty space in path

See original GitHub issue

After upgrading Fresco library to 1.0.0 images from local storage not shown when has empty space in path.

String filePath1 = "file:///storage/emulated/0/Allo%20Media/IMG_20161022_182847_355.jpg";
String filePath2 = "file:///storage/emulated/0/Allo Media/IMG_20161022_182847_355.jpg";
DraweeController controllerBuilder = Fresco.newDraweeControllerBuilder()
                .setImageRequest(ImageRequest.fromUri(Uri.parse(filePath2)))
                .setOldController(componentView.getController())
                .build();
draweeView.setController(controllerBuilder);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
foghinacommented, Jan 9, 2017

Should be fixed by 2d3d4b6. @oprisnik worth doing a hotfix release?

0reactions
foghinacommented, Feb 3, 2017

Should be fixed in the latest release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to store image in local storage not path? - Stack Overflow
1 Answer 1 ... You can make use of "canvas" element. ... As reviewed code on jsfiddle.net/sAH8w/2, you have made mistakes in formatting...
Read more >
Cannot display some local files with a space in their name #371
I'm loading images from the local storage using the following code: if (file.exists() ... It's only with files have space in their path....
Read more >
Storage link not loading image after symlink - Laracasts
Hello Team,. I have run the command - php artisan storage:link. Then it created a folder in /project/public/ with the name /storage/custom_folder/images.jpg.
Read more >
Saving images and files in localStorage - Mozilla Hacks
The idea here is to be able to take an image that has been loaded into the current web page and store it...
Read more >
Image - .NET MAUI | Microsoft Learn
The .NET MAUI Image displays an image that can be loaded from a local file, a URI, an embedded resource, or a stream....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found