Rotate image around point

How can I rotate an image around a point (image like a clock hand), either using the image feature or an image in a html iframe?

I need to update the rotation based on which value a user selects on a graph, so I know you can just rotate an image manually but I need to be able to do it and update it via code?

Thank you !

Hi Alexia,

The only way to achieve this is by adding custom code to an iframe that can receive the rotation value.
To communicate with the iframe use postMessage.
See more here

Thanks, I’ve thought about that I just haven’t been able to find a rotation value that can be used in code. When you embed an image via html it’s in the img tag, and not script tag so that’s what I’m stuck on!