Hi,
i’ve a problem with android 4.4.4. I can’t see any of my ng-src="{{ externalUrlLink }}" images.
For every images that i try to load i see the img fallback icon.
Seems like a cordova-KitKat problem.
Hey How do you implement the fallback icon? I am using external links to my images. But have not tested on 4.4.4 yet! Can you let me know more about this?
the “fallback” icon is just the icon that the browser put on when he can’t load an image.
Right now i’ve just updated all the things i can update (cordova, android sdk, ionic) but the problem is still present.
Yeah, they have. Try explicitly adding the domain name from which you are obtaining images as the value to origin. Then tell me how it goes. I am waiting.
Thank god! :):):):):):):):):):):):) You had almost killed me with you question title ‘Android 4.4.4 - URL image render problem’. I will try and have a look at your problem also.
And again, are you sure <img ng-src="http://www.imagemagick.org/Usage/thumbnails/thumbnail.gif"> rendered without any problem on your android 4.4.4 phone?
I am also having image rendering problems. In my case, it is using a div with a background-image property set to a local device filesystem URL. I know the URLs are correct and this is only a problem in Android 4.4.4. Rendering is fine in 4.4.2.
Furthermore, when I use the Chrome remote debugging tools, I can get the image to appear by editing the URL and adding a space to the URL at the end. Or any other change that keeps the URL intact but registers a refresh. I know this is not a $scope.$apply() problem as the image remains invisible upon taps, clicks, and other interactions with the model that causes a digest cycle.
Moreover, the problem is intermittent (though happening more often than not). I believe, also related, is a problem I’m having with an array not properly updating after a slice() in Android 4.4.4 (works on 4.4.2 and iOS).
Any news here on this problem? I am still having this issue and can’t get to the bottom of it.
One factor that I think might be affecting me is that I am saving these images (thumbnails) to disk but updating the model’s path prior to the file actually being saved. However, there is a $scope.$apply() after all files have been saved so it should update the model properly. Also, this is only a problem in 4.4.4.
One thing I notice is that in the Resource inspector I can see that some of the images load and some don’t, and the ones that don’t are not in memory. When updating the link (by adding a space), they suddenly load in the Resources panel.
Any thoughts? Don’t know how I can post a small example here, there is a lot of code to dig through.
I am getting the feeling that this might have something to do with the fact that these images are being rendered in an ion-footer. I am rendering the same exact images in a slide (later in the slide box) and those render fine. Here is my HTML markup. (Sorry, it’s a little messy.)