diff --git a/plugins/Oembed/OembedPlugin.php b/plugins/Oembed/OembedPlugin.php index 4497728c4c..56ce3cf098 100644 --- a/plugins/Oembed/OembedPlugin.php +++ b/plugins/Oembed/OembedPlugin.php @@ -238,6 +238,11 @@ class OembedPlugin extends Plugin return true; } + // Show thumbnail as usual if it's a photo. + if ($oembed->type === 'photo') { + return true; + } + $out->elementStart('article', ['class'=>'oembed-item']); $out->elementStart('header'); try {