sarriaroman / photoviewer

PhotoViewer Cordova Plugin
MIT License
157 stars 216 forks source link

"Error loading image" issue in android #155

Open chinmayeesweta opened 5 years ago

chinmayeesweta commented 5 years ago

I am using ionic-photo-viewer (1.1.18 ),when i click on the image,it shows the blank black modal with loader ,cancel and share button but after sometime the loader and the modal was dismissed and it gives me the error message "Error loading image". Please help me.

whilees commented 5 years ago

In my a opinion this issue occurs by loading large image. In my project it is working when I load less 1M byte image,however loading about 2M byte image "Error loading image" will be shown. I have seen the issues list and learned about the owner saying this issue has been resolved at version 1.1.18, however I did try version 1.1.18 and above this issue still alive.

m7ammad7assan commented 5 years ago

any solution ?

ludobit commented 5 years ago

I can't open a 133k screenshot. I don't believe the issue is caused by large pictures.

AndrWeisR commented 5 years ago

Are you loading an image path using http http://localhost/.... or file:///data....? I get the "Error loading image" message when I try to open a local file using http, but it works with file.

a-kalmykov commented 5 years ago

Seems it is related to Picasso issue #465

ghost commented 4 years ago

I have also this problem and my image is avatar and that is only 1.3KB, so I also don't think that the reason is large pic. Pls help this issue