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
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 working on android project where i need to show thumbnail of video from server
is it possible or not ? if possible please help me
It is possible through one of the two ways:
either get the thumbnail image from server and display it
Or get the thumbnail from the video programmatically, this answer will help
It is possible yes. First, you need to examine the data structure. Usually, they use JSON or XML which they store the URL of video and thumb with different ID's. If you find the ID of thumbnail and set it to ImageView it should be all sorted.
Best,
Mack.
I'm new to android/phonegap development. I'm trying to access external images but I only get black places where the image should be on the emulator.If I try to open the html in chrome it displays the image. I already added the domain to the white list.
Would you be so kind as to help me figure out what the problem could be?
Thank you,
Henrik
Please check the case of the images names. See if the browser is also displaying the image or not
It was just an error of the emulator, when I tried on an actual device all worked fine!
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.
I'm trying to build a gallery where the images within will be pulled from the images URL from a website. i.e. Instead of doing R.drawable.xxxx.jpg, you use a url to represent the image.
Is this possible? If so, can you show me an example in code?
Thanks
this might be old post, but hey this library from github might be helpful
Android Image Loader
Also, on Application class, set the option to MaxPriority for better outcome.
Cheers,
Hope this helps...