Yup.  I am going to need it. lol  I have never done anything like this 
before.  It should be interesting.

On Sunday, November 13, 2016 at 3:56:40 PM UTC-5, ludovic coues wrote:
>
> 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 
>
> 2016-11-13 21:48 GMT+01:00 Andrew Stringfield <lone...@gmail.com 
> <javascript:>>: 
> > hello all, 
> > 
> >       I am interested in being able to draw on a Django view.  I have 
> been 
> > reading up some on how people draw in Html and it seems that the 
> <canvas> 
> > tag seems to a good start.  Apparently I have to do some java scripting 
> as 
> > well.  What I envision is that I have a background image and then my 
> users 
> > can make annotations on the image and save the data...some how.  Any 
> ideas? 
> > 
> > -- 
> > 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 <javascript:>. 
> > To post to this group, send email to django...@googlegroups.com 
> <javascript:>. 
> > 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 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/5464fd2a-9f09-4e83-ae55-27a4ec22dc5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to