Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with HTML+JS #28

Open
ghost opened this issue Jul 18, 2020 · 1 comment
Open

Integrate with HTML+JS #28

ghost opened this issue Jul 18, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 18, 2020

Hi,

It's possible to integrate this in a HTMl page, load the image via JS or HTML/PHP, and the get the zones ouput via JS to save in a database? This is, remove the EXPORT buttons and do it via JS ?

@n-peugnet
Copy link
Owner

Yes, this is something that I wanted to do from the beginning.
I made a demo app to demonstrate this: https://imagemapcreator.club1.fr. It is still online but it seems there is a problem with my script loading.

Anyway, most of the js logic is in this file: https://github.com/n-peugnet/demo-imc/blob/master/public/assets/js/script.js

This is still far from ideal but it can already be hacked a little bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant