tutash
9 years agoBinge Watcher
Images not loading consistently into PosterGrid
I'm using posterGrid and not markupGrid. This is a requirement of the code I'm writing. So, with that out of the way:
I create content nodes to populate a posterGrid, then set said grid's content to be that content node. This is normal stuff. For testing, I'm fetching the images from either a local server, or a CDN.
Sometimes, when checking my server logs, I'll see a request for an image (for the posterGrid) twice, and this is when I'm seeing the error. The image doesn't load, and even though I've defined failedBitmapUri for the posterGrid, this image does not show, and isn't even called (nothing in the server logs).
I see the same/similar behaviour when loading images from our CDN.
Since I'm using posterGrid, I can't find a way to observe any loadStatus from the posterGrids contents.
Any idea what is happening here?
Why is the posterGrid functioning so poorly?
Any insight into this problem would be greatly appreciated.
I create content nodes to populate a posterGrid, then set said grid's content to be that content node. This is normal stuff. For testing, I'm fetching the images from either a local server, or a CDN.
Sometimes, when checking my server logs, I'll see a request for an image (for the posterGrid) twice, and this is when I'm seeing the error. The image doesn't load, and even though I've defined failedBitmapUri for the posterGrid, this image does not show, and isn't even called (nothing in the server logs).
I see the same/similar behaviour when loading images from our CDN.
Since I'm using posterGrid, I can't find a way to observe any loadStatus from the posterGrids contents.
Any idea what is happening here?
Why is the posterGrid functioning so poorly?
Any insight into this problem would be greatly appreciated.