1
1
2
2
# Laravel Image Handler
3
3
4
- Handle image in multiple different size with optimization .
4
+ Optimize and store images in multiple sizes easily .
5
5
6
6
7
7
### Installation steps
@@ -12,25 +12,25 @@ php artisan vendor:publish --provider="codepane\LaravelImageHandler\ImageHandler
12
12
13
13
### Configuration
14
14
15
- * After installation done once you can see imagehandler.php under the config dirctory .
16
- * You can udpate dimensions, format and quality as per your need from configuration file.
17
- * You can also add new dimension.
15
+ * After installation is done once you can see imagehandler.php under the config directory .
16
+ * You can update dimensions, format, and quality as per your need from a configuration file.
17
+ * You can also add a new dimension.
18
18
19
19
20
20
21
21
## Usage
22
- Lets deep dive into this package for how to use it
22
+ Let's deep dive into this package for how to use it
23
23
24
24
### Store Image
25
25
```
26
26
use ImageHandler;
27
27
28
28
public function store()
29
29
{
30
- // its take default file name as it is
30
+ // its takes the default file name as it is
31
31
ImageHandler::store($request->file);
32
32
33
- // in 2nd argument you can pass your custom file name with or without path
33
+ // in 2nd argument you can pass your custom file name with or without the path
34
34
ImageHandler::store($request->file, 'file_name_with_or_without_path');
35
35
}
36
36
```
@@ -41,10 +41,10 @@ use ImageHandler;
41
41
42
42
public function get()
43
43
{
44
- // this will return original image
44
+ // this will return the original image
45
45
ImageHandler::get('original_file_name');
46
46
47
- // pass dimension as second argument for get specific dimension of file
47
+ // pass dimension as the second argument to get a specific dimension of the file
48
48
ImageHandler::get('original_file_name', 'sm');
49
49
}
50
50
```
@@ -64,5 +64,5 @@ public function delete()
64
64
65
65
Contributions are always welcome!
66
66
67
- - Make pull request if you have to contribute for this lovely library!
67
+ - Make a pull request if you have to contribute to this lovely library!
68
68
- We will review and pull your request.
0 commit comments