From 92f8839c34391dde280b4599cda2d17700053dac Mon Sep 17 00:00:00 2001
From: "Lucian I. Last"
Date: Wed, 17 Jun 2026 10:39:18 +0200
Subject: [PATCH 1/2] Add jxl support where image formats are found
---
src/components/edit-profile-sheet.jsx | 1 +
src/components/media-attachment.jsx | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/components/edit-profile-sheet.jsx b/src/components/edit-profile-sheet.jsx
index dab49907f4..77cf0d0a70 100644
--- a/src/components/edit-profile-sheet.jsx
+++ b/src/components/edit-profile-sheet.jsx
@@ -27,6 +27,7 @@ const SUPPORTED_IMAGE_FORMATS = [
'image/png',
'image/gif',
'image/webp',
+ 'image/jxl',
];
const SUPPORTED_IMAGE_FORMATS_STR = SUPPORTED_IMAGE_FORMATS.join(',');
diff --git a/src/components/media-attachment.jsx b/src/components/media-attachment.jsx
index 77e146f460..eeeefb3fd6 100644
--- a/src/components/media-attachment.jsx
+++ b/src/components/media-attachment.jsx
@@ -445,7 +445,7 @@ function MediaAttachment({
{descTextarea}