Skip to content

Commit eb9b9b7

Browse files
edit upload instructions
1 parent 218e83d commit eb9b9b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ config.imagekit={
6363
}
6464
```
6565

66-
You need to create an uploader to manage file. To create an uploader, use this command inside the project directory.
66+
You can create a carrierwave uploader in order to attach pictures to your database objects as their attributes. To upload images without designating them as database attributes, read the section on File Upload below.
6767
```bash
6868
rails g uploader <Uploading_attribute_name>
6969
# For example if you want to create uploader for Avatar attribute then use
@@ -312,6 +312,7 @@ transformation code from ImageKit docs as the name when using in the `url` funct
312312
| original | orig |
313313

314314
## File Upload
315+
This method can be used to directly upload images to your ImageKit Media Library, without giving it the designation of an attribute of any database object.
315316

316317
The SDK provides a simple interface using the `.upload()` method to upload files to the ImageKit Media library. It
317318
accepts all the parameters supported by the [ImageKit Upload API](https://docs.imagekit.io/api-reference/upload-file-api/server-side-file-upload).

0 commit comments

Comments
 (0)