It's barely related to django.
If all you want is to make annotation, it's fairly easy and you don't
really need canvas and it's mainly javascript, which is independent
from django.
First, display your image.
Second, get where your user want their annotation. I would do that by
listening to click event on the image and computing the position of
the click in the image, which is position of the click in the page
minus position of the image in the page.
Third, get the actual annotation.
Fourth, send to django a request to store an annotation on image Z at
position X / Y with text T.
Fifth is to display the image. Get all the annotation for the image,
display dot at the position of each annotation, display the text on
mousehover. Or directly on the image if the image is huge.
Good luck
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
django-users...@googlegroups.com.
> To post to this group, send email to
django...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/django-users.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/django-users/168eba94-cb9e-4dfa-a761-4f478150dd2f%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Cordialement, Coues Ludovic
+336 148 743 42