If you are using HTML templates in Webpack 2, in addition to use the file-loader you need to change in your HTML:
<img src="https://stackoverflow.com/questions/32753650/images/foo.png" />
to this
<img src=<%=require("https://stackoverflow.com/questions/32753650/images/foo.png")%> />