From f1230cd68202c4bfd91635377951bd6d0f9aefb0 Mon Sep 17 00:00:00 2001 From: Amir Hossein <68776630+amirHossein5@users.noreply.github.com> Date: Wed, 12 Jan 2022 14:16:01 +0330 Subject: [PATCH] Update README.md --- README.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5343c95..dbbd919 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,8 @@ Image path setters: Just available for ```make```: +| setter | default | +|---------------------------------|------------------------------------------------------| | setRootDirectory( string ) | images (written in config file) | | setExclusiveDirectory( string ) | | | setArchiveDirectories( string ) | year/month/day | @@ -144,16 +146,9 @@ For size customazations see [Size customazations](#size-customazations). ## "raw" method -When you are using "raw" method like: - -```php -Image::raw($image) - . - . - ->save() -``` +When you are using "raw" method, -Nothing will be automatically set(directories, and sizes). For setting directory of image there is two method: +nothing will be automatically set(directories, and sizes). For setting directory of image there is two method: ```php Image::raw($image) @@ -247,7 +242,7 @@ $image = Image::make($this->image) ``` ```php -Image::setDefaultSizeFor($post->image, 'small', 'paths); +Image::setDefaultSizeFor($post->image, 'small', 'paths'); ``` @@ -396,7 +391,7 @@ if (! Image::wasRecentlyRemoved()) { ``` -#### Remove in when used disk +#### Remove when used disk If you created image with some disks do: