Add support for webp
images as a valid image Asset type
#1545
Labels
enhancement
improvements to existing features
webp
images as a valid image Asset type
#1545
webp
is a really nice image format that has the weight of Google behind it; and it delivers really nice optimization of images in terms of file size.While not all browsers support it yet, leaving it up to the developer to decide if it should be allowed would be useful. Here are some
webp
images from Google for a comparison:https://developers.google.com/speed/webp/gallery1
Additionally, what many websites are doing is having the webserver itself handle the delivery of
webp
images based on theAccept
header:Nginx: https://github.com/uhop/grunt-tight-sprite/wiki/Recipe:-serve-WebP-with-nginx-conditionally
Apache: https://gist.github.com/seeekr/2415528
YouTube and other major sites do this; if you visit their site using Chrome, you get
webp
images. If you visit their site using a browser that doesn't support them, you getjpg
orpng
As long as Craft supports
webp
as an allowable image type, we'd be able to deliver this functionality in, even automatically pre-created thewebp
versions of the images if #1544 is implemented.The text was updated successfully, but these errors were encountered: