I have been trying to integrate webp to my site for a while now. I finally succeeded for the most part. Server side, I put an httpd conf that serves webp whenever a browser accepts it and jpeg if not. I also set up an inotify on all my images folders so that whenever a new image is uploaded, the jpg or png is also generated as a webp. It works wonderfully, even for images in modules, categories, manufacturers, suppliers, everything works except products images.
I suspect it is an htaccess issue, although as far as I can tell, the rewrite rules for products generated by TB does include webp. However, if if I try to force serving webp, even in Chrome, the product images I get are only in jpeg. Thanks to the inotify script, the webp do exists so I am at a loss as to why the webp is not served at all.
Question
movieseals
I have been trying to integrate webp to my site for a while now. I finally succeeded for the most part. Server side, I put an httpd conf that serves webp whenever a browser accepts it and jpeg if not. I also set up an inotify on all my images folders so that whenever a new image is uploaded, the jpg or png is also generated as a webp. It works wonderfully, even for images in modules, categories, manufacturers, suppliers, everything works except products images.
I suspect it is an htaccess issue, although as far as I can tell, the rewrite rules for products generated by TB does include webp. However, if if I try to force serving webp, even in Chrome, the product images I get are only in jpeg. Thanks to the inotify script, the webp do exists so I am at a loss as to why the webp is not served at all.
Edited by movieseals1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now