resize(300, null, function ($constraint) {
    $constraint->aspectRatio();
})