简体   繁体   中英

Modx change mime type for images

have uploaded a webp image to my MODX website. seobility shows me that the content or mime type is missing. but i can't edit the html code of the image. thanks a lot in advance

perhabs the images is corrupt you do not need to specify mime types in modx for images.

also if you use pthumb you can create a webp image optimised eg

[[pthumb? &input= your path to your image &options= &h=100&w=100&zc=1&f=webp ]]

It seems Seobility not MODX problem is. You can directly specify this new type by with header adding it via "Content Type" page: /manager/?a=system/contenttype

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM