diff --git a/src/components/Settings/StampTab/NewStamp.vue b/src/components/Settings/StampTab/NewStamp.vue index a776856974..b267a7eb01 100644 --- a/src/components/Settings/StampTab/NewStamp.vue +++ b/src/components/Settings/StampTab/NewStamp.vue @@ -22,7 +22,8 @@ const acceptImageType = [ 'image/jpeg', 'image/png', 'image/gif', - 'image/svg+xml' + 'image/svg+xml', + 'image/webp' ].join(',') const { selectImage } = useFileSelect({ accept: acceptImageType }, files => { if (!files[0]) return diff --git a/src/components/Settings/StampTab/StampContextMenu.vue b/src/components/Settings/StampTab/StampContextMenu.vue index dcc22df77f..3d9b2e1389 100644 --- a/src/components/Settings/StampTab/StampContextMenu.vue +++ b/src/components/Settings/StampTab/StampContextMenu.vue @@ -73,7 +73,8 @@ const acceptImageType = [ 'image/jpeg', 'image/png', 'image/gif', - 'image/svg+xml' + 'image/svg+xml', + 'image/webp' ].join(',') const close = () => { diff --git a/src/views/Settings/ProfileTab.vue b/src/views/Settings/ProfileTab.vue index 58badb4aa9..8363887759 100644 --- a/src/views/Settings/ProfileTab.vue +++ b/src/views/Settings/ProfileTab.vue @@ -175,7 +175,12 @@ const canUpdate = computed( const { pushModal } = useModalStore() -const acceptImageType = ['image/jpeg', 'image/png', 'image/gif'].join(',') +const acceptImageType = [ + 'image/jpeg', + 'image/png', + 'image/gif', + 'image/webp' +].join(',') const { selectImage } = useFileSelect({ accept: acceptImageType }, files => { if (!files[0]) return pushModal({