Skip to content

Commit adb3ffc

Browse files
authored
Update README.md
1 parent c41c092 commit adb3ffc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,26 @@ A PHP base class that you can use to upload any file into the server. It is a ve
5555
11) File Size Limit for Uploading.
5656

5757

58-
## All parameters that you need to set in constructor
58+
## All parameters that you need to set in the constructor
5959

6060
| Parameters | Default Value | Description |
6161
|----------------------|-------------------|---------------|
62-
| Response format | array | You can set to json or array. |
63-
| Allow extensions | Not set | You can set the file extensions in array. |
62+
| Response format | array | You can set it to JSON or array. |
63+
| Allow extensions | Not set | You can set the file extensions in the array. |
6464
| Dir path | false | Folder name where you need to save images [‘../Upload/’]. If you set the thumbs size array, the thumb folder will be created and thumb files move there. |
65-
| Dir permission | 0655 | You can set the permission of newly created Dir. |
65+
| Dir permission | 0655 | You can set the permission of the newly created Dir. |
6666

67-
## All parameters that you need to set in method
67+
## All parameters that you need to set in the method
6868

6969
| Parameters | Default Value | Description |
7070
|-----------------------|-------------------|------------------|
7171
| Input index name | User set | You can set your input="file" name index. |
7272
| Check minimum with | 400 | Default min with is 400, you can change with any number. |
73-
| Watermark | empty | You can set watermark array see the below details. |
74-
| Re-name | empty | Rename uploaded file if you need it. Left empty save files default name. |
73+
| Watermark | empty | You can set the watermark array to see the below details. |
74+
| Re-name | empty | Rename the uploaded file if you need it. Left empty save files default name. |
7575
| Image Quality | 100 | Image quality in percent 1-100. Apply only for images (jpg,jpeg,png,gif). |
7676
| New Width | empty | If you want to resize the image then pass int value else upload without resizing the image will be saved. |
77-
| Thumb Widths | empty | If you want to create multiple thumbs than pass int value with array [350,450]. |
77+
| Thumb Widths | empty | If you want to create multiple thumbs then pass int value with array [350,450]. |
7878

7979

8080
----
@@ -88,7 +88,7 @@ $upload = new anyFileUpload\ImageUploadAndResize('array', ['jpeg', 'jpg',
8888
$upload->uploadFiles('files', 250, '', $rename, 100, '850', ['350','450']);
8989
```
9090

91-
>For watermark you will use array and able to add image as a watermark or text.
91+
>For watermark you will use an array and be able to add the image as a watermark or text.
9292
9393
## With text below will be the parameters:
9494
```php
@@ -102,7 +102,7 @@ $upload->uploadFiles('files', 250, '', $rename, 100, '850', ['350','450']);
102102
];
103103
```
104104

105-
## With image below will be the parameters:
105+
## With the image below will be the parameters:
106106
```php
107107
[
108108
'value' => "your-image-complete-path",
@@ -111,9 +111,9 @@ $upload->uploadFiles('files', 250, '', $rename, 100, '850', ['350','450']);
111111
];
112112
```
113113

114-
## And the response will be get like below:
114+
## The response will get like the below:
115115

116-
In the below response you will get the uploaded/not uploaded/bad extensions and success/error flags array or json data.
116+
In the below response, you will get the uploaded/not uploaded/bad extensions and success/error flags array or JSON data.
117117

118118
```php
119119
print "<pre>";

0 commit comments

Comments
 (0)