Questions tagged [image-loading]
386 questions
4
votes
1 answer
My image is done loading, but its height and width have not yet been updated. When does this happen?
I'm using a jQuery plugin that invokes a callback once all images on page have been loaded. It checks the imageObject.complete property and binds a handler to the load and error events to determine when image loading is done.
This works well, but…

Rob Sobers
- 20,737
- 24
- 82
- 111
4
votes
1 answer
GWT Image Loading for Canvas
Without using any image loading library, I am loading images like below:
final Image img = new Image();
img.setVisible(false);
RootPanel.get().add(img);
img.addErrorHandler(new ErrorHandler() {
@Override
public void onError(ErrorEvent event)…

user706071
- 805
- 3
- 10
- 25
4
votes
2 answers
Glide 4: get GifDecoder of GifDrawable
I'm looking to upgrade my app from Glide v3 to Glide v4. I need to know how long loop is of a gif that is loaded through Glide.
v3 Code:
int duration = 0;
GifDecoder decoder = gifDrawable.getDecoder();
for (int i = 0; i <…

Milk
- 2,469
- 5
- 31
- 54
4
votes
1 answer
Picasso load image with HTTP post
My API having some verification mechanism for every HTTP request. One of the end-point have the functionality to load a image using HTTP post method. The post request body will contain a JSON object which is verified from the server side.
For that i…

J.R
- 2,113
- 19
- 21
4
votes
1 answer
Picasso Android image loading - threading model
Here is what i did:
Created a custom downloader (extends OkHttpDownloader) and assigned it to Picasso.
Inside the downloader, i added an interceptor ( getClient().interceptors().add(new Interceptor() {...})
I launched my Android app in debug mode,…

my chalupa
- 137
- 11
4
votes
2 answers
Is there a way (JavaScript or jQuery) to sequentially load images (prevent parallel downloads)
I have a page which contains a dozen of big images:
...
Due to images' size, parallel downloading causes too long delay before anything shows.
Question: how to…



CodeVirtuoso
- 6,318
- 12
- 46
- 62
4
votes
2 answers
Picasso image loading previously cached images
I am using picasso library in my project to fetch url images from the server into my ImageView, but unfortunately picasso loading the previously cached images from disc instead of loading the new images from url. Please find the below piece of code…

Chandru
- 5,954
- 11
- 45
- 85
4
votes
1 answer
jQuery 1.8 in IE 11 does not fire image load event on page load
I have an .NET application which loads images dynamically. I have a loading gif shown until the image loads. Then the image is shown.
The loading gif image size is 16x11.
The images that are loaded are all resized to 80px width.
This code works in…

stackErr
- 4,130
- 3
- 24
- 48
4
votes
2 answers
PageCurl(magazine) with Image from web
I am working with Harism Page Curl(Open GL) https://github.com/harism/android_page_curl and its works perfectly fine
But in this example the condition I found is that we must have all Bitmap resource ready(downloaded) but what I want is image will…

Mohammed Azharuddin Shaikh
- 41,633
- 14
- 96
- 115
3
votes
2 answers
Coil placeholder not showing if vectorpainter is used in jetpack compose
I am using the following code to display an image.
AsyncImage(
model = createImageUrl(audio.image_path),
contentDescription = "Song Artwork",
modifier = Modifier.fillMaxHeight()
…

Diken Mhrz
- 327
- 2
- 14
3
votes
0 answers
How to load images in a RecyclerView like Pintrest app
Hello there i have a recylerview with images where the hieght is wrap_content and width is match_parent just like pintrest but the issue is when the recylerview is loaded the images are not loaded properly it is a mess here is screen shot of it
I…

Vasant Raval
- 257
- 1
- 12
- 31
3
votes
1 answer
How can I display a base64-encoded image in Jetpack Compose without using external libs
I could convert the base64 string to android.graphics.Bitmap but from all I can find online, I still need coil or glide to display it

nwagu
- 532
- 3
- 17
3
votes
1 answer
Flutter CachedNetworkImage doesn't work for App downloaded from playstore, stuck on placeholder
I'm using CachedNetworkImage in my app and it works fine when I run it in debug or release on Android, however when I upload the aab to the Play Store and download the app from the Play Store, the image is just stuck on the placeholder.
Here's how…

odiggity
- 1,496
- 16
- 29
3
votes
0 answers
Unity C# - Is there a faster way to load a number of image files from disk than UnityWebRequest, WWW or File.ReadAllBytes?
Its a VN style game with user generated content and I need to load the image without delay.
Due to it being user generated content the images will be siting in a folder with the game.
Due to the same reason I cant preload the images, since I cant…

mllhild
- 67
- 7
3
votes
1 answer
Flutter CachedNetworkImage doesn't work, loading images again when scrolling up to bottom or bottom to up
I'm trying to work with cached images. I followed CachedNetworkImage but it doesn't work. Please help me if any other solution available in flutter
Here is video of my issue
When I scrolled list from up to bottom or bottom to up the images are…

Gursewak Singh
- 1,576
- 1
- 16
- 32