Open Murtowski opened 6 years ago
Same problem on Huawei CUN-U29 running Android 5.1. It loads images from camera, also can show images from gallery, but when trying to write:
Picasso.with(getContext()).load(uri).centerCrop().resize(width, height).into(image);
it shows empty space.
On Meizu U20 (Android 6.0) it also doesn't show an image from camera (when centerCrop and resize).
UPDATE After many experimets, probably resizing during loading to a smaller size, both devices started to show an image in centerCrop.
me too
I can confirm this too. Uris which come from "android.intent.action.SEND_MULTIPLE" can't be viewed on some devices like (lg x power 2, Android 7.0, photos are ~2.7-3 MB each).
same here - any infos needed, please write, but i think it's 100% reproducible
Huawei honor 9 lite, android 9. 2021 and still having these problems :/
Same issue with Huawei P30 Pro and Huawei Mate 40 Pro
Hey, I have trouble with displaying pictures from gallery on Samsung Devices.
compile 'com.squareup.picasso:picasso:2.5.2'
However pictures of just taken photos form camera may be displayed (uri cames from camera)
1.Before all I give Application READ/WRITE_EXTERNAL_STORAGE permissions. 2.I create photo file using:
and I return picture using MediaScannerConnectionClient that gives me Uri in form of content:// instead of file:// Logs
I receive Uri in onActivityResult
data.getData()
Images from Camera are being displayed
Uri from camera either gallery:content://media/external/images/media/957
But images from Gallery are not.
Uri from camera either gallery:content://com.android.providers.media.documents/document/image%3A957
The only way to display them is to use
then all pictures display well, but I don't take adavantages of Picasso .fit() placeHolder() and so on and i disapointed of this solution
Summary: I don't know where is the problem. It's a problem of Piccasso, permission or Samsung. On my Nexus 6p i have no issue, but on Samsung i do.
UPDATE Finally I came accross two solution
taking bitmap from contentResolver.inputStream(uri) or imageView.setImageURI(uri)
but Picasso still not displaying pictures stackoverflow https://stackoverflow.com/questions/46930348/picasso-unable-to-display-image-from-gallery