Hi josephconlon!
Internet explorer doesn’t support the srcset attribute, so you’ll need to turn of the native mode and use the Picturefill polyfill.
http://caniuse.com/#feat=srcset
That’s ok, but it’s more the fact that although the images load, they are loading the 460px wide image. Is there any way to make the img src load the larger size image? We want to use native mode and aren’t bothered about the srcset but the img src is loading the small image.
I’m afraid not. The image in src is supposed to be the default/smallest one. The srcset attribute should contain alternative images for the browser to chose from, like larger/retina images.
OK. Is there no way to modify native-element.php to do this? (a hack I know but the client wants the large image as the src)
No, but in native-img.php 🙂
https://github.com/stefanledin/responsify-wp/blob/master/includes/native-img.php#L9
$this->images contains all available image sizes. It’s the first one (the smallest) in the array that is included in the src attribute. Maybe you could change it to the last one in the array instead?
Thanks Stefan, I changed the array and this solves my issue for the client.