You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+58-36Lines changed: 58 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -236,8 +236,8 @@ In order to use the SDK, you need to provide it with a few configuration paramet
236
236
237
237
```js
238
238
<IKContext
239
-
:publicKey="your_url_endpoint"
240
-
:urlEndpoint="your_public_api_key"
239
+
:publicKey="your_public_api_key"
240
+
:urlEndpoint="your_url_endpoint"
241
241
:authenticator={()=>Promise}
242
242
// This promise resolves with an object containing the necessary security parameters i.e `signature`, `token`, and `expire`.
243
243
>
@@ -318,14 +318,64 @@ transformation = [
318
318
319
319
See the complete list of transformations supported in ImageKit [here](https://docs.imagekit.io/features/image-transformations). The SDK gives a name to each transformation parameter e.g. `height` for `h` and `width` for `w` parameter. It makes your code more readable. If the property does not match any of the following supported options, it is added as it is.
320
320
321
-
<br/>
321
+
### Adding overlays
322
322
323
-
> #### Deprecation notice
324
-
> The list below mentions the old overlay syntax parameters such as `oi`, `ot`, `obg`, and more. These parameters will be deprecated on 31st Oct 2023 and will start returning errors when used in URLs. Please migrate to the new Layers syntax that supports overlay nesting, provides better positional control, and allows more transformations at the layer level. You can start with [examples](https://docs.imagekit.io/features/image-transformations/overlay-using-layers#examples) to learn quickly.
325
-
> If you create overlay transformations using the JavaScript SDK, you can migrate to the new Layers syntax using the `raw` transformation parameter, as given in the example below.
ImageKit.io enables you to apply overlays to [images](https://docs.imagekit.io/features/image-transformations/overlay-using-layers) and [videos](https://docs.imagekit.io/features/video-transformation/overlay) using the raw parameter with the concept of [layers](https://docs.imagekit.io/features/image-transformations/overlay-using-layers#layers). The raw parameter facilitates incorporating transformations directly in the URL. A layer is a distinct type of transformation that allows you to define an asset to serve as an overlay, along with its positioning and additional transformations.
324
+
325
+
**Text as overlays**
326
+
327
+
You can add any text string over a base video or image using a text layer (l-text).
0 commit comments