For the first time I'm getting issue while using Picasso Image library into my project.
I'm having my JPEG image into server. This is my code.
Picasso.with(mContext).load("https://beta.receiptmatch.com/admin/webresources/images/no_company_image.jpg").into(itemViewHolder.imgLogo);
Picasso failed to load this image into ImageView. It doesn't print any warnings/issue in log tracker.
Note: Problem only with .jpeg/.jpg extension url. Url with .png extension working fine.
Please help on this. Thanks in advance.
Make sure you have added the INTERNET permission to your code
Related
I'm trying to load a picture into CircleImageView from a URL which I get from an API call. The URL of the image is working when I paste it into the browser but Picasso is unable to load it into the view.
The image URL is an https URL. For some reason, I can't share the image URL.
If anyone has faced the same issue or know the solution to this please help.
Thanks
Since it seems that's a known issue of Picasso; if you are into Kotlin use Coil, otherwise Glide.
I am trying to load an image using GLIDE. The URL is ftp://122.180.85.249/profilePic/myFile-1578746143852.jpg
But it is failed to load. I am using below mentioned code:
Glide.with(mContext).load(path).into(imgView)
Also tried:
Glide.with(mContext)asBitmap().load(path).into(imgView)
Any help will be appreciated. Also, I have seen this Github way which is using custom ModelLoader which I cannot use according to the project structure.
Glide doesn't directly support ftp urls out of the box. You must adjust the project structure to use ModelLoader to retrieve ftp streams.
I am developing android app that shows an image from URL. For this, I'm using Picasso library and it is working nicely. However, I think its caching time period depends on the headers of the image URL.
I have set Cache-Control:max-age=0 for image URL header and Picasso is only caching for few days and I want to store these images more than few days. Please help me find out the solution.
According to this answer there is no way to tell picasso to use some custom cache period.
Hi Friends I want your help to solve my issue if you have any idea please tell.
I want to show image on list view.When I use http protocol image display fine but when i use HTTPS image not display.
I used Picasso to display image on image view
Hear is my code what i used
Picasso.with(mContext).load("https://velocityagency.com/wp-content/uploads/2013/08/go.jpg").into(imgProduct);
thanks in advance
https://velocityagency.com/wp-content/uploads/2013/08/go.jpg
This is happening because the image URL is having a problem. Try to fix this issue first, then your image will load properly in android app
I was thinking, maybee the best way of loading pictures that I have on the server, using for my site would be to get the url for the picture..
How can I load picture from a url to ImageView?
I would say setImageUri if I understood correctly what you're trying to do.