<![CDATA[ Template variable input type IMAGE but WebP file - My Forums]]> https://forums.modx.com/thread/?thread=99515 <![CDATA[Template variable input type IMAGE but WebP file]]> https://forums.modx.com/thread/99515/template-variable-input-type-image-but-webp-file#dis-post-538177
https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/image-optimization

https://www.youtube.com/watch?v=pS8udLMOOaE

It seems to improve page speed significantly.

However, I have a template-variable IMAGE [*blogpost-image*] defined.
Now with this webp extension (= Chrome HTML document), I cannot open the IMAGES directory and add the images to my resource docs. I tried changing the input type to URL and also to FILE for my "images.webp", but none seems to work.

How can I get my images.webp on front-end with a template variable?]]>
ronbonqqq Feb 11, 2016, 07:33 PM https://forums.modx.com/thread/99515/template-variable-input-type-image-but-webp-file#dis-post-538177
<![CDATA[Re: Template variable input type IMAGE but WebP file]]> https://forums.modx.com/thread/99515/template-variable-input-type-image-but-webp-file#dis-post-538284
Good news: To allow the loading webp images in MODx Evo you need to go to Manager > Tools > Configuration > File Manager > Uploadable Image Types and add .webp extension to the list of image types:



webp image using an image TV:


bad news: thumbnails in file manager and phpthumb does not seem to work

]]>
banzai Feb 14, 2016, 04:52 AM https://forums.modx.com/thread/99515/template-variable-input-type-image-but-webp-file#dis-post-538284