Skip to main content

How to get image names via Web SDK?

  • May 9, 2025
  • 2 replies
  • 47 views

Forum|alt.badge.img+1

Miro itself displays the names of imported images, but an image object in Web SDK omits any mention of it. Maybe there is another way to query it? I need to use it for sorting and arranging placed images with the help of the app I’m developing.

2 replies

William Bishop
Mironeer
Forum|alt.badge.img+4
  • Mironeer
  • 248 replies
  • May 9, 2025

Hey ​@kpstn,

The image name, or title, will be returned in certain circumstances by the Web SDK as the `title` field, but only if the image was created programmatically and the title was specified originally upon creation.

However, one workaround for this could be to leverage the REST API. If you call GET Image API, an `imageUrl` field is returned, which can be used to retrieve a file url that contains the image name in it’s path. 


Forum|alt.badge.img+1
  • Author
  • Beginner
  • 2 replies
  • May 9, 2025

Thanks for the answer. The image was placed the usual way: by drag-n-droping a local file. So its title is empty. And REST API will be of no use here, right? Miro, on the other hand, keeps an image name, so it would be great to be able to read it through Web SDK.