allow disproportionate memes
This commit is contained in:
@@ -193,7 +193,6 @@ async function validateClientFile(file) {
|
||||
|
||||
try {
|
||||
const dimensions = await readImageDimensions(file);
|
||||
if (dimensions.width !== dimensions.height) return 'IMAGE MUST BE SQUARE.';
|
||||
if (dimensions.width > 6000 || dimensions.height > 6000) return 'IMAGE EXCEEDS 6000x6000.';
|
||||
} catch {
|
||||
return 'IMAGE COULD NOT BE INSPECTED.';
|
||||
|
||||
Reference in New Issue
Block a user