{result:minmaxBody(req.body.global_limits_bump_limit_min,req.body.global_limits_bump_limit_max),expected:true,error:__('Global bump limit min must be less than max')},
{result:numberBody(req.body.global_limits_post_files_max),expected:true,error:__('Post files max must be a number')},
{result:numberBody(req.body.global_limits_post_files_size_max),expected:true,error:__('Post files size must be a number')},
{result:numberBody(req.body.global_limits_post_files_size_image_resolution),expected:true,error:__('Image resolution max must be a number')},
{result:numberBody(req.body.global_limits_post_files_size_video_resolution),expected:true,error:__('Video resolution max must be a number')},
{result:numberBody(req.body.global_limits_banner_files_width,1),expected:true,error:__('Banner files height must be a number > 0')},
{result:numberBody(req.body.global_limits_banner_files_height,1),expected:true,error:__('Banner files width must be a number > 0')},
{result:numberBody(req.body.global_limits_banner_files_size_max),expected:true,error:__('Banner files size must be a number')},
'message':`File "${req.files.file[i].name}" image resolution is too high. Width*Height must not exceed ${globalLimits.postFilesSize.imageResolution}.`,
'redirect':redirect
});
}
if(thumbExtension==='.jpg'&&subtype==='png'){
//avoid transparency issues for jpg thumbnails on pngs (the most common case -- for anything else, use webp thumbExtension)
'message':`File "${req.files.file[i].name}" video resolution is too high. Width*Height must not exceed ${globalLimits.postFilesSize.videoResolution}.`,