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

Sometimes images don't load at all #9

Closed
salmanbabri opened this issue Mar 3, 2016 · 3 comments
Closed

Sometimes images don't load at all #9

salmanbabri opened this issue Mar 3, 2016 · 3 comments

Comments

@salmanbabri
Copy link

I tried using the sample code provided & couple of images weren't loading at all. I experienced the same issue when I tried running the ImageGallery-master.

Also the images failed to load when I provided the the path of local storage. Example the path was given in this pattern :-

/storage/sdcard1/DCIM/Camera/IMG_20160303_174756.jpg

@limitfan
Copy link

I also encountered your issue and I am just looking into this problem.
To load images from local storage, you just need to provide correct path description like this pattern:
file:///sdcard/DCIM/myimg.jpg

@limitfan
Copy link

The issue that some images cannot be loaded lies at the underlying image downloading and caching library called 'picasso'. Using the snapshot version of picasso in the following address https://oss.sonatype.org/content/repositories/snapshots/com/squareup/picasso/picasso/2.6.0-SNAPSHOT/ or from its latest source code should tackle most cases.

@lawloretienne
Copy link
Owner

As of version 0.0.14 , you will now be responsible for the image loading logic. See https://github.com/lawloretienne/ImageGallery/blob/master/sample/src/main/java/com/etiennelawlor/imagegallery/activities/MainActivity.java .

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

3 participants