I’ve been struggling to figure out how to position a container relative to an image behind it.
I’m trying to build a sales demo and customer training tool that allows a user to upload screenshots of their application and overlay informative steps to allow a prospect/customer to visualize how their app works without having to log on to the actual application.
-An admin can upload ‘screens’ of their app
-Admin selects a screen and can add ‘Steps’ to that screen
-Admin chooses where each step displays on the screen and the step is positioned relative to the image behind it. The step will adjust it’s position based on the screen size it’s being viewed on.
What is the best approach to save the position of each step relative to the image behind it?
Thank you for this explanation, which is very helpful. I am creating something very similar. However the usecase is slightly different.
Admin uploads File
User clicks on image
User enters comment and clicks save
The coordinates are saved together with the comment in XANO
A note is displayed at the exact position of the click.
I am struggling with step 2 - How do I get the coordinates within that image? If I save the onClick coordinates in a Variable it is not relative to the image container.