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.
Hey
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.
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.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.