Increase max image resolutions and sizes (#118)
This commit is contained in:
@@ -33,8 +33,8 @@ export function UserAvatar({
|
||||
openCamera({
|
||||
mediaType: 'photo',
|
||||
cropping: true,
|
||||
width: 1000,
|
||||
height: 1000,
|
||||
width: 2000,
|
||||
height: 2000,
|
||||
cropperCircleOverlay: true,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 1,
|
||||
@@ -50,8 +50,8 @@ export function UserAvatar({
|
||||
await openCropper({
|
||||
mediaType: 'photo',
|
||||
path: item.path,
|
||||
width: 1000,
|
||||
height: 1000,
|
||||
width: 2000,
|
||||
height: 2000,
|
||||
cropperCircleOverlay: true,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 1,
|
||||
|
||||
@@ -25,10 +25,10 @@ export function UserBanner({
|
||||
openCamera({
|
||||
mediaType: 'photo',
|
||||
cropping: true,
|
||||
compressImageMaxWidth: 3000,
|
||||
width: 3000,
|
||||
compressImageMaxHeight: 1000,
|
||||
height: 1000,
|
||||
compressImageMaxWidth: 6000,
|
||||
width: 6000,
|
||||
compressImageMaxHeight: 2000,
|
||||
height: 2000,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 1,
|
||||
includeExif: true,
|
||||
@@ -44,10 +44,10 @@ export function UserBanner({
|
||||
await openCropper({
|
||||
mediaType: 'photo',
|
||||
path: item.path,
|
||||
compressImageMaxWidth: 3000,
|
||||
width: 3000,
|
||||
compressImageMaxHeight: 1000,
|
||||
height: 1000,
|
||||
compressImageMaxWidth: 6000,
|
||||
width: 6000,
|
||||
compressImageMaxHeight: 2000,
|
||||
height: 2000,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 1,
|
||||
includeExif: true,
|
||||
|
||||
Reference in New Issue
Block a user