diff options
| author | Max | 2019-05-19 19:00:56 +0200 |
|---|---|---|
| committer | Max | 2019-05-19 19:00:56 +0200 |
| commit | cfd8cc43b982d4bab8f9407ae4f6b6036b31d11d (patch) | |
| tree | 47ffe23bfd6ac4282547af765d3bb64ab7daa048 /yarpp-template-custom-thumbnails.php | |
| parent | 1b5670aae957a4a1e6bf76b25129de84147c0620 (diff) | |
| download | fuselkoenig_de-cfd8cc43b982d4bab8f9407ae4f6b6036b31d11d.tar.gz | |
Smart cropping for thumbnails.
Diffstat (limited to 'yarpp-template-custom-thumbnails.php')
| -rw-r--r-- | yarpp-template-custom-thumbnails.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) != '' ) |
