{"action":"created","issue":{"url":"https://api.github.com/repos/scottjehl/picturefill/issues/633","repository_url":"https://api.github.com/repos/scottjehl/picturefill","labels_url":"https://api.github.com/repos/scottjehl/picturefill/issues/633/labels{/name}","comments_url":"https://api.github.com/repos/scottjehl/picturefill/issues/633/comments","events_url":"https://api.github.com/repos/scottjehl/picturefill/issues/633/events","html_url":"https://github.com/scottjehl/picturefill/issues/633","id":131042366,"number":633,"title":"Image does not load in IE11 with Picturefill 3.0.1","user":{"login":"saschask","id":13100857,"avatar_url":"https://avatars.githubusercontent.com/u/13100857?v=3","gravatar_id":"","url":"https://api.github.com/users/saschask","html_url":"https://github.com/saschask","followers_url":"https://api.github.com/users/saschask/followers","following_url":"https://api.github.com/users/saschask/following{/other_user}","gists_url":"https://api.github.com/users/saschask/gists{/gist_id}","starred_url":"https://api.github.com/users/saschask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saschask/subscriptions","organizations_url":"https://api.github.com/users/saschask/orgs","repos_url":"https://api.github.com/users/saschask/repos","events_url":"https://api.github.com/users/saschask/events{/privacy}","received_events_url":"https://api.github.com/users/saschask/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T14:31:10Z","updated_at":"2016-02-03T15:06:28Z","closed_at":null,"body":"Hello,\r\n\r\nI use the following code (simplified variant):\r\n\r\n`<img class=\"logo\" srcset=\"assets/img/header/logo.jpg, assets/img/header/logo_2x.jpg 2x\" alt=\"logo\" />`\r\n\r\nWhen I inspect the rendered code in **IE11** on Windows 7 and based on **Picturefill 3.0.1**, I get the following:\r\n\r\n`<img class=\"logo\" alt=\"logo\" srcset=\"assets/img/header/logo.jpg, assets/img/header/logo_2x.jpg 2x\">`\r\n\r\n Unfortunately, IE11 is not able to load the correct image (no traffic in dev tools visible), in all other browsers (especially IE9-10) it is working.\r\n\r\nWhen I go back to **Picturefill 2.3.1**, I get the following code which seems to work in IE11:\r\n\r\n`<img width=\"215\" class=\"logo\" alt=\"logo\" src=\"assets/img/header/logo.jpg\" srcset=\"assets/img/header/logo.jpg, assets/img/header/logo_2x.jpg 2x\">`\r\n\r\nThe obvious difference in the second/working variant is the dynamically added `src` attribute. Could this be the only reason or is there something else that makes the difference?"},"comment":{"url":"https://api.github.com/repos/scottjehl/picturefill/issues/comments/179282847","html_url":"https://github.com/scottjehl/picturefill/issues/633#issuecomment-179282847","issue_url":"https://api.github.com/repos/scottjehl/picturefill/issues/633","id":179282847,"user":{"login":"aFarkas","id":188254,"avatar_url":"https://avatars.githubusercontent.com/u/188254?v=3","gravatar_id":"","url":"https://api.github.com/users/aFarkas","html_url":"https://github.com/aFarkas","followers_url":"https://api.github.com/users/aFarkas/followers","following_url":"https://api.github.com/users/aFarkas/following{/other_user}","gists_url":"https://api.github.com/users/aFarkas/gists{/gist_id}","starred_url":"https://api.github.com/users/aFarkas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aFarkas/subscriptions","organizations_url":"https://api.github.com/users/aFarkas/orgs","repos_url":"https://api.github.com/users/aFarkas/repos","events_url":"https://api.github.com/users/aFarkas/events{/privacy}","received_events_url":"https://api.github.com/users/aFarkas/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T15:06:28Z","updated_at":"2016-02-03T15:06:28Z","body":"> afterwards the HTML is rendered dynamically\r\n\r\nYou mean you are rendering the HTML with JS (react, handlebars etc.)???\r\n\r\nIf yes,\r\n\r\nYou either need to explicity call `picturefill();` or use the [mutation plugin](https://github.com/scottjehl/picturefill/tree/master/dist/plugins/mutation)"}}