最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

uploads - How to increase media image scale limit?

programmeradmin7浏览0评论

I'd like to insert a large infographics image into a post. The problem is that WordPress scales the image and applies a limit of 393px in my case.

When I try to manually increase it, a red exclamation mark shows up, and won't use the value given by me:

How to remove that limit?

I'd like to insert a large infographics image into a post. The problem is that WordPress scales the image and applies a limit of 393px in my case.

When I try to manually increase it, a red exclamation mark shows up, and won't use the value given by me:

How to remove that limit?

Share Improve this question edited Aug 25, 2020 at 19:58 haxpanel asked Aug 24, 2020 at 16:10 haxpanelhaxpanel 15710 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

Found the solution: It can be turned off:

add_filter( 'big_image_size_threshold', '__return_false' );

More: here

发布评论

评论列表(0)

  1. 暂无评论