From 6d0e077f97dedbfd48ac1bbae3656d14cbc1c2f3 Mon Sep 17 00:00:00 2001 From: Chimit Date: Mon, 8 Aug 2022 16:18:12 +0800 Subject: [PATCH] aspectRatio key name updated in docs (#344) https://github.com/ebess/advanced-nova-media-library/issues/322#issuecomment-1177667932 --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 442c3de0..b9d9c05b 100644 --- a/readme.md +++ b/readme.md @@ -192,7 +192,7 @@ Images::make('Gallery')->croppable(false); You can set all configurations like ratio e.g. as following: ```php -Images::make('Gallery')->croppingConfigs(['ratio' => 4/3]); +Images::make('Gallery')->croppingConfigs(['aspectRatio' => 4/3]); ``` Available cropping configuration, see https://github.com/timtnleeProject/vuejs-clipper#clipper-basic.