From 8fcd5f285d766d2f0ae604bef817200527bc6374 Mon Sep 17 00:00:00 2001 From: Aitor Date: Fri, 10 Nov 2023 15:49:53 +0100 Subject: [PATCH] :zap: Remove data URIs from image embeds --- frontend/src/app/main/ui/shapes/fills.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/shapes/fills.cljs b/frontend/src/app/main/ui/shapes/fills.cljs index 9be7b71875..a7dc509e25 100644 --- a/frontend/src/app/main/ui/shapes/fills.cljs +++ b/frontend/src/app/main/ui/shapes/fills.cljs @@ -116,7 +116,7 @@ :width (* width no-repeat-padding) :height (* height no-repeat-padding) :fill "none"}] - [:image {:href (or (:data-uri shape) (get embed uri uri)) + [:image {:href uri :preserveAspectRatio "none" :x 0 :y 0