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
* If you want to add the transformation string in the path of the URL, set this to `path`, final URL will look like `https://ik.imagekit.io/your_imagekit_id/tr:w-100,h-100/default-image.jpg`.
42
76
*/
43
77
transformationPosition?: "path"|"query";
44
-
45
-
/**
46
-
* Set to `false` to disable automatic responsive `srcSet` generation.
47
-
* Defaults to `true`.
48
-
*/
49
-
responsive?: Boolean;
50
-
51
-
/**
52
-
* The intended display width of the image.
53
-
*
54
-
* - Accepts a number (e.g. `100`) or a numeric string (e.g. `"100"`).
55
-
* - If you pass units such as `"100px"` or a percentage like `"100%"`, the value
56
-
* is ignored when generating the `srcSet`. In that case, a broad range of
57
-
* widths is produced to cover all possible viewport sizes.
58
-
*/
59
-
width?: number| `${number}`;
60
-
61
-
/**
62
-
* Define the sizes of the image at different breakpoints. Used by the browser to choose the most appropriate size from the generated srcset.
63
-
*/
64
-
sizes?: string;
65
-
66
-
/**
67
-
* Controls when the image should start loading.
68
-
*
69
-
* * `lazy` - Defer loading the image until it reaches a calculated distance from the viewport.
70
-
* * `eager` - Load the image immediately, regardless of its position in the page.
0 commit comments