我想在帖子中插入一个大的信息图形图像。问题是WordPress会缩放图像,并在我的案例中应用393px的限制。
当我尝试手动增加时,会显示一个红色感叹号,并且不会使用我给定的值:
如何取消该限制?我不知道为什么,但现在,Wordpress在每个新上传的图像末尾添加了一个后缀“-scaled”。并且,它没有保留原始图像链接,而是将其更改为“-缩放”版本:我发现凶手在/wp-admin/includes/image.php 其中包括: if ( ! is_wp_error( $resized ) ) { // Append \"-scaled\" to the image file name. It will look like \"my_image-sc