Modern image format support #2013
Replies: 7 comments 9 replies
-
I agree to add webp file format for images. The only issue is related to extension itself. It needs to be intensive tested before being merged into OpenMage and we cannot count on developer's help. There are a few open issues but I did not check them in detail. |
Beta Was this translation helpful? Give feedback.
-
Another solution that requires no changes to OpenMage is to have some script that automatically makes webp versions of images in the media directory at some interval using cron or other methods. Then, depending on the webserver (nginx or apache) you can serve the appropriate image to the web browser based on headers. This is how I do it with my OpenMage store. nginx example:
Apache example: https://gist.github.com/seeekr/2415528 Note that the two work slightly differently, the nginx config expects "imagename.jpg.webp" where the apache example expects "imagename.webp". I prefer the former just in case two files had the same name, like "imagename.jpg" and "imagename.png" |
Beta Was this translation helpful? Give feedback.
-
just a personal opinion, we dont need to include everything into the main project, some things are fine to have as optional modules. That said, Iam not against it and there definitive should be a way/an option to support newer formats. I just think, a separate module is generally ok. |
Beta Was this translation helpful? Give feedback.
-
Are you watching me? I started the update of own of my module to automagically generate webp images same day of your question. |
Beta Was this translation helpful? Give feedback.
-
I suggest to use a CDN which can automatically generate web images and recompress all of the images to match google' standards. I use one for all my customers, a few bucks/months and we avoid having hunderds thousands converted images on our servers. |
Beta Was this translation helpful? Give feedback.
-
My website uses My website adopts requireJs and jquery no prototypeJs, webp, less, ngx pagespeed, etc, but it is based on OPENMAGE and runs very smooth on PHP7.2 MYSQL5.7. Thank you for your hard work. |
Beta Was this translation helpful? Give feedback.
-
I think OpenMage should include support for modern image formats, like webP, out of the box.
Yireo has done some great work in this regard:
https://github.com/yireo-magento1/Yireo_Webp
Also in regards to improving the page speed of OpenMage.
Beta Was this translation helpful? Give feedback.
All reactions