Hi, I would like a user to upload and image and then be able to draw dots on it.
I would like the user to be able to select what colours the dot(s) are from a pallet. All dots would be the same size.
From this I would like to have some basic X Y coordinates for the middle spot of the dots recorded and their colour in the database.
Appreciate any help offered.
Thanks
BH
hergin
October 1, 2024, 5:09am
2
Check this post where I added a repeating group in front of the image so that you can create a grid system on the image. You can change the clicks to show a popup to select color as well and store them.
I was experimenting tagging some images and closest I could find is adding a repeating group in front of the picture and giving some kind of a grid based system to the user to play with. I just highlight the selected area, but you can do more stuff with it. See the demo below:
[chrome_lpfiD68seN]
It is not very hard, since the grid is simply 10x10 repeating group.
In order to create an empty 10x10, I had to use a list with this plugin:
[image]
[image]
I have tested it with custom state as…