summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax2019-05-19 19:00:56 +0200
committerMax2019-05-19 19:00:56 +0200
commitcfd8cc43b982d4bab8f9407ae4f6b6036b31d11d (patch)
tree47ffe23bfd6ac4282547af765d3bb64ab7daa048
parent1b5670aae957a4a1e6bf76b25129de84147c0620 (diff)
downloadfuselkoenig_de-cfd8cc43b982d4bab8f9407ae4f6b6036b31d11d.tar.gz
Smart cropping for thumbnails.
-rw-r--r--yarpp-template-custom-thumbnails.php2
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) != '' )