Tagging an Image

Scenarios

You can use tags to classify images. You can add, modify, or delete image tags, or search for required images by tag in the image list.

Note

  • When adding predefined tags to an image or searching for an image using predefined tags, you must have permission to access the Tag Management Service (TMS).

Constraints

An image can have a maximum of 10 tags.

Add, Delete, and Modify Image Tags

  1. Access the IMS console.

    1. Log in to the management console.

    2. Under Computing, click Image Management Service.

      The IMS console is displayed.

  2. Click the Private Images tab and click the image name to display the image details.

    • To modify an image tag, go to 3.

    • To delete an image tag, go to 4.

    • To add an image tag, go to 5.

  3. Click the Tags tab, locate the target tag, and click Edit in the Operation column. In the displayed dialog box, modify the tag.

  4. Click the Tags tab, locate the target tag, and click Delete in the Operation column. In the displayed dialog box, click Yes.

  5. Click the Tags tab and then Add Tag. In the displayed dialog box, add a tag.

Search for Private Images by Tag

  1. Access the IMS console.

    1. Log in to the management console.

    2. Under Computing, click Image Management Service.

      The IMS console is displayed.

  2. Click the Private Images tab and then Search by Tag.

    **Figure 1** Searching for images by tag

    Figure 1 Searching for images by tag

  3. Enter the tag key and value.

    Neither the tag key nor tag value can be empty. When the tag key and tag value are matched, the system automatically shows your desired private images.

  4. Click image1 to add a tag.

    You can add multiple tags to search for private images. The system will display private images that match all tags.

    **Figure 2** Adding a tag

    Figure 2 Adding a tag

  5. Click Search.

    The system searches for private images based on tag keys or tag values.

Search for Shared Images by Tag

You can search for a private image that has a tag and is shared with you by another tenant.

After you accept private image image_test with tag (Enterprise=A) which is shared by another tenant, you can search for the image by tag.

Note

You cannot add tags to a shared image. The tags of a shared image are added by the tenant who shares the image with you.

  1. Log in to the management console.

  2. Under Computing, click Image Management Service.

    The Private Images page is displayed.

  3. Click the Images Shared with Me tab and then Search by Tag.

  4. Enter the tag key and value.

    Neither the tag key nor tag value can be empty. When the tag key and tag value are matched, the system automatically shows your desired shared images.

  5. Click image2 to add a tag.

    You can add multiple tags to search for shared images. The system will display private images that match all tags.

  6. Click Search.

    The system searches for shared images based on tag keys or tag values.