Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amirHossein5 authored Jan 12, 2022
1 parent 6dcb5b6 commit f1230cd
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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)
Expand Down Expand Up @@ -247,7 +242,7 @@ $image = Image::make($this->image)
```

```php
Image::setDefaultSizeFor($post->image, 'small', 'paths);
Image::setDefaultSizeFor($post->image, 'small', 'paths');
```


Expand Down Expand Up @@ -396,7 +391,7 @@ if (! Image::wasRecentlyRemoved()) {

```

#### Remove in when used disk
#### Remove when used disk

If you created image with some disks do:

Expand Down

0 comments on commit f1230cd

Please sign in to comment.