how is it possible to have an image scalable together with its clickable elements?

when I resize the screen, the image contracts, but the hotspots do not, so they no longer apply to the right parts of the picture.