Skip to content

Commit

Permalink
Merge pull request #78 from ashishleo10/patch-1
Browse files Browse the repository at this point in the history
Layered Syntax
  • Loading branch information
imagekitio authored Oct 4, 2023
2 parents 45aca40 + 246d4fe commit 1efbd25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,15 @@ See the complete list of transformations supported in ImageKit [here](https://do

If you want to generate transformations in your application and add them to the URL as it is, use the `raw` parameter.

<br/>

> #### Deprecation notice
> 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.
> If you create overlay transformations using the Node.js SDK, you can migrate to the new Layers syntax using the `raw` transformation parameter, as given in the example below.
> `transformation : [{ "width" : 300, "height" : 300 },{ "raw": "l-image,i-logo.png,w-10,rt-90,l-end" }]`
<br/>

| Supported Transformation Name | Translates to parameter |
|-------------------------------|-------------------------|
| height | h |
Expand Down

0 comments on commit 1efbd25

Please sign in to comment.