Completed his crutch to webp
, to the lack of support the browser the format of the loaded image, e.g., jpeg
And then, accidentally stumbled on the "opportunity" to embed images in this way:
<object data="image.webp" type="image/webp">
<object data="image.jpg" type="image/jpeg"></object>
Of course, the question was not about WebP
, but for my case method is ideal. Checked support in IE8 - everything is in order...
But here's the thing: is it right, to do so? As a good practice, and whether at the moment this alternatives?