Documentation

Configuration / upload.max_width

Use this option to specify a max width of images, files with a greater width that this value will not be accepted.

$moxieManagerConfig['upload.max_width'] = 1024;

If upload.autoresize is set to true, files will be resized down to max width/max height.