M
M
MeylisDay2018-02-25 01:16:04
Images
MeylisDay, 2018-02-25 01:16:04

webp format support in firefox?

The well-known problem is that fox does not support the webp format. How to fix?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
Helen Izotova, 2018-11-16
@Kalammitta

I prefer this way of solving problems with webp format support like
< picture >
< source srcset="img.webp" type="image/webp" >
< source srcset="img.png" type="image/jpeg" >
< img src="img.png" >
</picture >

S
Sergey, 2018-02-25
@gangstarcj

Render a format that supports https://www.sitepoint.com/implementing-cross-brows...
Specifically
The browser will decide what to take

R
Roman Sippel, 2018-03-07
@SeoHueo

It's very easy to "fix" on backgrounds:
https://css-tricks.com/using-webp-images/#article-...
The link is the target part of the article on how to "fix" images for backgrounds using the modernizr polyfill library.
Next, go to the library and "build" our polyfill - https://modernizr.com/download?webp-setclasses&q=webp
The link is already ready, just click Build, download and connect. If it seems confusing, then download the js from the codepen example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question