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
+73-1Lines changed: 73 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,17 @@ ImageKit Angular SDK allows you to resize, optimize, deliver, and upload images
11
11
12
12
ImageKit is complete media storage, optimization, and transformation solution that comes with an image and video CDN. It can be integrated with your existing infrastructure - storage like AWS S3, web servers, your CDN, and custom domain names, allowing you to deliver optimized images in minutes with minimal code changes.
13
13
14
-
## Breaking changes - Upgrading from 2.x to 3.x version
14
+
## Breaking changes
15
+
16
+
### Upgrading from 3.x to 4.x version
17
+
18
+
1. Overlay syntax update
19
+
20
+
* In version 4.0.0, we've removed the old overlay syntax parameters for transformations, such as `oi`, `ot`, `obg`, and [more](https://docs.imagekit.io/features/image-transformations/overlay). These parameters are deprecated 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.
21
+
* You can migrate to the new layers syntax using the `raw` transformation parameter.
22
+
23
+
### Upgrading from 2.x to 3.x version
24
+
15
25
3.x version has breaking changes as listed below.
16
26
* In version 3.0.0, we have deprecated the use of the `authenticationEndpoint` parameter. Instead, the SDK now introduces a new parameter named `authenticator`. This parameter expects an asynchronous function that resolves with an object containing the necessary security parameters i.e `signature`, `token`, and `expire`.
17
27
@@ -184,6 +194,15 @@ To use the SDK, you need to provide it with a few configuration parameters. The
| raw | The string provided in raw will be added to the URL as it is. |
346
367
@@ -437,6 +458,30 @@ You can lazy-load the original image only when the user scrolls near them. Until
437
458
</ik-image>
438
459
```
439
460
461
+
### Arithmetic expressions in transformations
462
+
463
+
ImageKit allows use of [arithmetic expressions](https://docs.imagekit.io/features/arithmetic-expressions-in-transformations) in certain dimension and position-related parameters, making media transformations more flexible and dynamic.
The `ik-video` component renders a `video` tag. It is used for rendering and manipulating videos in real time. `ik-video` component accepts the following props:
0 commit comments