Hey everyone, I'm pulling src's from another website and have them in an array like
["www.another.com/pic1.png", "www.another2.com/pic2.jpg"]
.
I tried using XMLHttpRequest
and checking the file.size
, but CORS restrictions are preventing me from doing so. Any ideas on how I can retrieve the file size for these items in the array?