惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
Stack Overflow Blog
Stack Overflow Blog
博客园 - 三生石上(FineUI控件)
T
Threat Research - Cisco Blogs
S
SegmentFault 最新的问题
V2EX - 技术
V2EX - 技术
Hacker News: Ask HN
Hacker News: Ask HN
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Proofpoint News Feed
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
U
Unit 42
腾讯CDC
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
H
Help Net Security
Recent Announcements
Recent Announcements
P
Privacy & Cybersecurity Law Blog
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
博客园 - 聂微东
S
Securelist
大猫的无限游戏
大猫的无限游戏
Cloudbric
Cloudbric
Cisco Talos Blog
Cisco Talos Blog

主题客

网站服务 - 主题客 Zane · WordPress 无边栏高级多功能商用主题 - 主题客 CSS 伪元素 content 属性中文乱码的解决 - 主题客 升级为 PHP 8.0+ 提示 PHP Deprecated 错误的解决办法 - 主题客 保护隐私信息,使用星号隐藏手机号码、邮箱和用户名 - 主题客 niRvana 关注微信公众号扫码登录扩展 - 主题客 Verdure 关注微信公众号扫码登录扩展 - 主题客 在线编辑图片WebP格式转换图片压缩小技巧 - 主题客 WordPress 5.8 禁用小工具区块编辑模式 - 主题客
解决 WordPress 5.8+ 无法上传 webp 图片的问题 - 主题客
主题客 · 5月1日 · 2025年 5月1日 · 2025年 · 2021-09-23 · via 主题客

Wordpress 5.8 版本更新其实是已经可以支持上传 webp 格式的图片了,但是实际情况下你可能仍然会遇到在 Wordpress 后台媒体库上传 webp 图片时报错,无法上传的问题,例如下图这样,那么这是什么原因造成的呢?

根据错误提示基本可以明确问题是出在服务器上,缺少了对 webp 图像的支持。那么我们只需要安装并开启 PHP 扩展 ImageMagick 就可以了。怎么安装呢?我们这里以宝塔面板,php7.3 举例说明:

打开 php-7.3 管理面板,点击安装扩展选项卡,找到 ImageMagick 扩展,点击安装,然后稍等一会,等面板安装完成后,我们回到 Wordpress 媒体库刷新一下页面,你会发现可以上传 webp 图片了,搞定!