答案 0 :(得分:0)
你可以设置没有裁剪的thumnails,只需在function.php中添加自定义thumnail并使用它,如下所示:
在function.php ::
中add_action( 'after_setup_theme', 'wpdocs_theme_setup' );
function wpdocs_theme_setup() {
add_image_size( 'my-thumb', 50 ); // 50 pixels wide by 50 pixels tall, resize mode (whitout croped)
}