feat avatar compress uploads to 20kb
This commit is contained in:
@@ -943,15 +943,19 @@ export default {
|
||||
},
|
||||
avatar: {
|
||||
title: 'Profile Avatar',
|
||||
description: 'Set your avatar with a remote image URL or upload a small image.',
|
||||
description: 'Set your avatar with a remote image URL or upload an image under 100KB. Uploaded images are compressed to 20KB.',
|
||||
inputLabel: 'Avatar URL or data URL',
|
||||
inputPlaceholder: 'https://cdn.example.com/avatar.png',
|
||||
uploadAction: 'Upload image',
|
||||
uploadHint: 'Images must be 100KB or smaller',
|
||||
uploadHint: 'Uploaded images must be 100KB or smaller. Static images are compressed to 20KB.',
|
||||
saveSuccess: 'Avatar updated',
|
||||
deleteSuccess: 'Avatar removed',
|
||||
invalidType: 'Please choose an image file',
|
||||
fileTooLarge: 'Avatar image must be 100KB or smaller',
|
||||
gifTooLarge: 'GIF avatars must already be 20KB or smaller',
|
||||
compressTooLarge: 'Unable to compress this image below 20KB. Try a smaller image.',
|
||||
compressFailed: 'Failed to compress the selected image.',
|
||||
readFailed: 'Failed to read the selected image.',
|
||||
invalidValue: 'Enter a valid avatar URL or image data URL',
|
||||
emptyDeleteHint: 'Avatar is already empty',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user