From bb81f1f7177e43ddef7bd3ccb2227f085e33cdba Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Thu, 23 Sep 2021 14:51:31 +0100 Subject: [PATCH] [Embed] Use new attachment route format --- plugins/Embed/templates/embed/embedView.html.twig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/Embed/templates/embed/embedView.html.twig b/plugins/Embed/templates/embed/embedView.html.twig index 616e76ee43..ce3cfa27eb 100644 --- a/plugins/Embed/templates/embed/embedView.html.twig +++ b/plugins/Embed/templates/embed/embedView.html.twig @@ -3,8 +3,7 @@ {% if attributes['has_attachment'] != false %} {% set thumbnail_parameters = { 'id': embed.getAttachmentId(), - 'w': attributes['width'], - 'h': attributes['height'] + 'size': 'small' } %} {{embed.getTitle() | escape}} {{ embed.getDescription() | escape }} - \ No newline at end of file +