Some of the webp images not loading. Showing 404 error. How to remove this format in Magento 2.
-
Are you using any third party modules for image optimization or page speed optimization module?– Raj Mohan RCommented Apr 15, 2019 at 9:00
-
No. I didnt use anything. In mozilla its working.. |But in chrome its showing 404– soofzCommented Apr 15, 2019 at 9:01
-
So are you directly using webp images for products– Raj Mohan RCommented Apr 15, 2019 at 9:10
-
No. Its automatically changed. I did basic optimization only. I want to remove that. How it possible?– soofzCommented Apr 15, 2019 at 10:03
-
Without the help of any modules or any customisations in server side the images won't be changed to webp format so what change you have done?– Raj Mohan RCommented Apr 15, 2019 at 10:06
|
Show 5 more comments
1 Answer
You have enabled Google Page Speed Module in your Nginx Server. You can disable the images from converting to webp by editing the page speed module configurations in /usr/local/nginx/conf/nginx.conf
editing pagespeed EnableFilters convert_jpeg_to_webp
to pagespeed DisableFilters convert_jpeg_to_webp
. Once it is done your images will not be converted to webp.