What are the different components of an image URL in ImageKit?

Understanding different components of an image URL.

Manu avatar
Written by Manu
Updated over a week ago

Here is how a typical ImageKit URL will look like:

{URL_endpoint}/{transformation_string}/{rest_of_the_image_path_including_extension} 

For example, in this URL https://ik.imagekit.io/demo/tr:w-100/default-image.jpg

  • https://ik.imagekit.io/demo  is default URL endpoint. Here demo is the ImageKit ID of our demo account.

  • tr:w-100  is transformation string.

  • default-image.jpg  is the image path. This same image is uploaded in your account when you first sign up.

When using a custom domain (CNAME)

These URL endpoints, i.e. https://ik.imagekit.io/demo can be mapped with a custom domain (CNAME) of your choice, e.g. images.yourdomain.com. In that case, the image URL becomes https://images.yourdomain.com/tr:w-100/default-image.jpg

Questions?

In case you have any questions, please create a support ticket from your dashboard or if you are on a paid plan, start a conversation by clicking on the chat icon in the bottom right.

Did this answer your question?