Fixed validation issue with MinWidth, MaxWidth, MinHeight, MaxHeight which caused the validator to not check the image size when the 'tmp_name' field was not empty.