Image not loading from network

Widgets & Design

I'm trying to load an image inside a DataTable. The DataTable is querying a collection from Firebase in which one of the fields is an ImagePath but it can't load the image. The error image keeps appearing. All the other fields i'm showing from the query work fine. It was working fine until about three weeks ago when something updating and a lot of things stopped working, but I managed to get things back, saw some people talking about changing CORS settings in DB, done that and didn't solve.

What have you tried so far?

By building a local run and looking at the network log through devTools I see that the communication with FireBase is ok and it can retreive the links for each of the images. I also made a change so the dataTable cell would show the link as a String and it worked showing the correct link (I could copy and past into another tab and it showed the image). From that I know the DB is fine, but somehow the dataTable can't load the image. Chrome DevTools said "The following ImageCodecException was thrown resolving an image stream completer: Failed to detect image file format using the file header. File header was [0x3c 0x21 0x44 0x4f 0x43 0x54 0x59 0x50 0x45 0x20]. Image source: encoded image bytes"

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply