imagesloaded javascript library: what is the browser & device support?
Asked Answered
I

1

0

imagesLoaded seems like the best solution (at the time of writing, Nov 2014) to detect whether an image is loaded or not.

I found that imagesLoaded library has the following characteristics:

  • license: MIT License
  • dependencies: none
  • weight (minified & gzipped) : 7kb minified (light!)
  • download builder (helps to cut weight) : no need, already tiny
  • on Github : YES
  • community & contributors : pretty big, 4000+ members, although only 13 contributors
  • history & contributions : stable as relatively old (since 2010) but still active project

All the above features point into the direction of a very high quality product. However, there is a couple of information I still cannot find explicitly mentioned nor on the official website imagesloaded.desandro.com, nor on the Github page github.com/desandro/imagesloaded:

  1. what is the browser support?
  2. what is the device support?

Even though I assume the answer to the 2nd question being obvious, I would appreciate a confirmation.

EDIT: I just remembered this answer mentioned it working on IE7+ https://mcmap.net/q/64871/-check-if-an-image-is-loaded-no-errors-with-jquery, further feedback is still welcome though

EDIT 2: I just found another source saying it does not support IE7, this time by the creator of the library himself, see message from "desandro on 30 Nov 2012" on github.com/desandro/imagesloaded/issues/16

Idealistic answered 4/11, 2014 at 9:50 Comment(6)
It works on IE7+, what else do you need to know ?Valence
I just found another source saying it does not support IE7, this time by the creator of the library himself, see message from "desandro on 30 Nov 2012" on github.com/desandro/imagesloaded/issues/16Idealistic
Thanks for trying to help. But I am looking for a solid proof or statement from a trusted contributor. That's why I took the time to actually write a proper question on StackOverflow.Idealistic
Well, I used imagesLoaded on many IE8+ projects, without any trouble. Anyway, I think when Desandro says IE7 is no longer supported, you can deduct IE8 is. And about smartphones, tablets, etc : most of the browsers on those devices are based on webkit, so it surely will work. Windows Phone still use IE (Trident), but in a decent version (like IE10 I think).Valence
My post that you mention referring to IE7+ support may have been for an older version of the library. It certainly worked back when I tested it. I've removed it from my answer anyway, because if the author himself doesn't say it's supported, it could break with any update.Faithless
Thanks for that. It definitely helps to have your answer up-to-date.Idealistic
I
0

It seems that imagesloaded is officially supported by IE8+.

See the answer from David DeSandro (the creator of the library) on https://github.com/desandro/imagesloaded/issues/168

Officially, imagesLoaded v3 does not support IE7 and below.

And also:

In my testing, it was successful in IE8, IE9, IE10, Chrome, Safari, and Firefox on desktop, and Mobile Safari for iOS.

Note: I will do some further testing & update this answer accordingly

Idealistic answered 13/11, 2014 at 16:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.