|
|
|
@ -366,7 +366,7 @@ IU.verified = function () {
|
|
|
|
|
if (!w || !h)
|
|
|
|
|
return this.failure(Muggle('Bad image dimensions.'));
|
|
|
|
|
if (config.IMAGE_PIXELS_MAX && w * h > config.IMAGE_PIXELS_MAX)
|
|
|
|
|
return this.failure(Muggle('Way too many pixels.'));
|
|
|
|
|
return this.failure(Muggle('This is photoshopped, I can tell from the pixels.'));
|
|
|
|
|
if (w > config.IMAGE_WIDTH_MAX && h > config.IMAGE_HEIGHT_MAX)
|
|
|
|
|
return this.failure(Muggle(desc+' is too wide and too tall.'));
|
|
|
|
|
if (w > config.IMAGE_WIDTH_MAX)
|
|
|
|
|