It reads above my image "Add a note", but there is no link or anything else where I can add a note.

CommentFileSizeAuthor
#4 make_image_annotate_work.patch4.75 KBgábor hojtsy

Comments

kcolbe’s picture

I'm having the same issue. I've installed all required modules (I think). But I still only have text on top of my pictures which says "Add a note" -- no link. I can't seem to trigger the annotation at all. Any help??

Thanks!

kcolbe’s picture

Line 19 of tag.js is not working...it is not loading the callback for the php function _image_annotate_canvas()

$('#image-annotate-wrapper').load('/image-annotate/view-canvas', {}, function() { ...

charly’s picture

i can confirm this on a fresh drupal 6.6 install

gábor hojtsy’s picture

Title: no "Add a note" link » "Add a note" test showing but does not work
Status: Active » Needs review
StatusFileSize
new4.75 KB

Here is how I made this module work:

(1) Applied the changes contained in the attached patch. In detail:

- The paths are not right if you are not running Drupal in the webserver root.
- jQuery update runs the minified version of the components, but they take A and not $ so the UI lib is not working right. I did not check why is this happening, since it worked with the non-minified versions. Probably needs a better analysis.
- There was also some data collection issues with the viewing of notes, which are fixed by using the object returned as an object not an array.

(2) Removed jquery_update as a dependency of the jquery_ui module in D6. Drupal 6 has the latest jQuery.

This makes adding, editing and deleting notes work. It does not make dragging work though, and resizing is oftentimes broken in some directions. So still not perfect.

I know the maintainer is about to post some new code (as said in other issues), so this might be useless, but it might be that some of these will still not be fixed, so this patch proves to be useful.

gábor hojtsy’s picture

Title: "Add a note" test showing but does not work » "Add a note" text showing but does not work
Holie’s picture

subscribing, patch does not seem to work for me

hunvreus’s picture

There is a beta now on the project page: please give it a try. Many things have been added/changed. I will publish a stable version this week, so let me know.

hunvreus’s picture

Status: Needs review » Closed (fixed)