Images often need to have some metadata associated with them. For example, if you have a picture of a man wearing a t-shirt for your e-commerce store, then you would want some of the following attributes to be associated with it

  • Color: Blue
  • Collar: Round
  • Sleeve: Long
  • Material: Cotton
  • Print: Solid

It is not possible to have all this information provided in the image name. Neither is it possible to always organize your images in folders that reflect the above attributes. This is where tags come to the rescue.

A tag can be considered as an additional attribute that has been attached to a particular image. You can then use these tags to find associated images, like all round collar images in blue color and so on.

How to add image tags in ImageKit?

You can either add image tags while uploading the image (documentation here) or you can do so from the ImageKit dashboard. 

When you click on an image in the media library in the dashboard, a popup comes up with the image details. There you would get a field to add the image tags. Type in the tag name that you want, press enter or select it from the list of previously used tags.

How to search images using tags in ImageKit?

You can also search for images using the tag name.  Simply type in the tag name (or names) in the search bar at the top of the media library, select it from the dropdown list that appears and click on search. All images which have either of the tag names entered will be shown in the search results.

In the GIF above, one of the image that appears in the search results, has the tag "man", whereas the other has tags "man" and "suit".

Can I also update the tags at a later stage?

Yes, you can update image tags from the image detail popup in the media library or using the file update API as well (documentation here).

If you have any more questions about image tagging or any feedback for this feature, please reach out to us at support@imagekit.io.

Did this answer your question?