387 questions
1 vote
1 answer
174 views
Why isn't Coil 3 displaying a valid image URL in Jetpack Compose, even though the URL is valid and StateFlow recomposes properly?
I'm migrating a user profile screen from XML + Glide to Jetpack Compose using this Coil dependency: io.coil-kt.coil3:coil-compose:3.1.0 The profile image URL is returned from an API and correctly ...
0 votes
0 answers
106 views
Why am i getting "Channel is unrecoverably broken and will be disposed!" error, trying to load large images in recycler view
I have a gallery fragment in my Android TV App with horizontal recyclerView where i`m trying to show images loaded with Coil (they might have a large size like 10mb, 20mb etc.). The requirement is ...
0 votes
0 answers
68 views
image using file path does not load in Typescript
I have a reducer.ts file, path is: src/model/reducer/reducer.ts and the path for my image is: src/view/assets/image.png Here is how I work with my image inside my reducer: const myImage = '../../view/...
1 vote
0 answers
112 views
How to add a thumbnail to a Shopify slider section
I'm working on a Shopify store where we use several GIF images to showcase product features. However, I've noticed that GIFs can take a while to load, especially on slower connections, which impacts ...
1 vote
0 answers
463 views
MAUI - MediaPicker PickPhotoAsync always give "System.ObjectDisposedException: 'Cannot access a closed Stream.'"
Net 8.0 + MS Toolkit, MVVM, VS 2022, android emulator 11 API 30 I've a listview based on a ObservableCollection of class public partial class ADVImage : BaseModel //<= extends ObservableObject { ...
1 vote
0 answers
63 views
Image not loading in React component but works in vanilla JavaScript version
I'm facing an issue where an image fails to load within a React component, although it works perfectly fine in a vanilla JavaScript version of the same functionality. I'm seeking assistance in ...
0 votes
0 answers
55 views
Display image<img src=""> from the database path to PHP webpage
I would like to display/load image from the database, my image path is stored in database. My project file is in different drive (d:) and my images are in share drive (Z:). Currently I am working on ...
0 votes
0 answers
58 views
how to image load and save it by C
Firstly, i'm not good at English. So please understand it. #include <stdio.h> #include <windows.h> #define xsize 570 // x사이즈 #define ysize 456 // y사이즈 #define INPUTFILENAME "...
0 votes
1 answer
66 views
How to check at runtime if an imageview came from a local or remote resource?
If I'm running as a third party library within an android application, and I want to check whether the imageviews on screen were loaded from locally bundled resources or were loaded from a remote uri -...
0 votes
2 answers
57 views
image not loading on web browser
I am getting the following error while running react app: Failed to compile. Module not found: Error: Can't resolve ' ../asset/intro.jpg' in 'C:\my-app\src\components' ERROR in ./src/components/...
-1 votes
1 answer
52 views
In my php project the images from my sql data base aren't loaded correctly
I have created an data base in my sql and decided to add some picture but the problem is that the picture that should be loaded currently returns an empty string. So where the correct image should ...
1 vote
0 answers
283 views
Image is partially cropped sometimes when loaded in JetpackCompose LazyColumn item
I am building an image loading library for Jetpack Compose. I know about Coil, and it does not meet my needs. I've build an AsyncMedia composable (Coil's AsyncImage was an inspiration here). When it ...
0 votes
1 answer
110 views
Jar file not finding image but in Idea does
I'm trying to load an image in Java using Jaylib, it works in Intellij but not does as a Jar. Method for Resource Locations: @Nullable public String getPath() { try { return ...
2 votes
0 answers
188 views
React - Loading images in conditional rendering - performance issue
I have a React application in which after clicking on the buttons I change the categories and each category has its own layout with text and images. The problem is that I conditionally render this ...
0 votes
1 answer
395 views
How to stop loading an image in Glide if it takes a long time to load?
It is critical for me that the picture is loaded for a certain time, if during this time it cannot be loaded, then I want to stop loading and move on to the next function. It seems that here it is ...