Update README.md

This commit is contained in:
Nicco 2020-12-20 11:51:51 +01:00 committed by GitHub
parent c2cdd7bf3c
commit 7615ad508a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,8 @@ yarn add svelte-cloudinary
This will formulate the Cloudinary url and insert it into the `img.src` property. This will formulate the Cloudinary url and insert it into the `img.src` property.
Also it will resize to the `img` object itself because we set `bind: true`. Also it will resize to the `img` object itself because we set `bind: true`.
> ⚠️ In firefox if you want to use the `bind` option to automatically compute sizes you need to set `img { display: inline-block or block; }` otherwise there can be problems with `getComputedStyle`.
## ☁️ Cloudinary Setup ## ☁️ Cloudinary Setup
If you want the use super handfull auto upload function (which I think will apply to everyone) you have to set configure a few settings first. If you want the use super handfull auto upload function (which I think will apply to everyone) you have to set configure a few settings first.