From 0d847615e7c53c5c321a27ed82f67ad9b562af61 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 17 May 2023 13:06:26 +0200 Subject: [PATCH] Return absolute URL for images --- src/FieldTypes/SeotamicSocial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FieldTypes/SeotamicSocial.php b/src/FieldTypes/SeotamicSocial.php index aab5d4d..ca6fa37 100644 --- a/src/FieldTypes/SeotamicSocial.php +++ b/src/FieldTypes/SeotamicSocial.php @@ -196,6 +196,6 @@ protected function getImage($compress = false): string return url(Image::manipulate($asset, ['w' => 1200, 'h' => 630, 'q' => '70', 'fit' => 'crop'])); } - return $asset->url(); + return $asset->absoluteUrl(); } }