You replace the check box with an image, set an onclick trigger to call the same processes that resulted in checking or unchecking that box.
You can do similar with web form buttons, either have a button or an image to click.
Several ways of doing this and its up to you to decide on what way you want to go.
You haven't shown any code you wrote so we have no idea if you're on the right track.
When you do, use the forum BB Code tags (see my signature) and post in the forum, not a link to a git or bin hub.