Finding size of image in figure

I have a solara component with a single figure, an image. But the image I have set is autoresizing and I would like to get the size of the image or maybe the container that holds it. Any ideas?
Was this page helpful?