From cfd8cc43b982d4bab8f9407ae4f6b6036b31d11d Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 19 May 2019 19:00:56 +0200 Subject: Smart cropping for thumbnails. --- yarpp-template-custom-thumbnails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarpp-template-custom-thumbnails.php b/yarpp-template-custom-thumbnails.php index 66cc103..ca8254c 100644 --- a/yarpp-template-custom-thumbnails.php +++ b/yarpp-template-custom-thumbnails.php @@ -49,7 +49,7 @@ if (have_posts()) { */ #$post_thumbnail_html = str_replace('https://www.fuselkoenig.de', 'https://www.fuselkoenig.de/crop?width=240&height=240&gravity=centre&url=https://www.fuselkoenig.de', $post_thumbnail_html); - $post_thumbnail_html = str_replace('https://www.fuselkoenig.de', '/crop/240/240/centre', $post_thumbnail_html); + $post_thumbnail_html = str_replace('https://www.fuselkoenig.de', '/crop/240/240/smart', $post_thumbnail_html); } if ( trim($post_thumbnail_html) != '' ) -- cgit v1.2.3