This is a really neat thing not available for drupal - like foto notes on flickr. thanks

CommentFileSizeAuthor
#2 imagenotes.patch11.71 KBmkinnan

Comments

SamRose’s picture

Title: update to drupal 5 or 6 » update to drupal 5 *and* 6!

Here, here! I'd love to help update this.

mkinnan’s picture

Assigned: Unassigned » mkinnan
Status: Active » Needs review
StatusFileSize
new11.71 KB

This is my first patch, so I hope it works.

You will still need to create the imagenotes.info file with with the following information:

; $Id: Imagenotes.info,v 5.7.x-1.x-dev Exp $
name = Imagenotes
description = This module provides flickr - style note capabilities for image nodes. It requires and uses the Fotonotes technology, more about fotonotes on their site: http://fotonotes.net/
package = Image

version = "5.7.x-1.x-dev"
project = "imagenotes"

SamRose’s picture

Thanks! trying it out now...

vm’s picture

there is a fotonotes.module for drupal in the downloads area

http://drupal.org/project/fotonotes

SamRose’s picture

Whoa, thank you Very Misunderstood.

For the record, no dice so far on the patch:

$ patch < imagenotes.patch
(Stripping trailing CRs from patch.)
patching file drupal.fndb.inc
(Stripping trailing CRs from patch.)
patching file imagenotes.install
(Stripping trailing CRs from patch.)
patching file imagenotes.module
(Stripping trailing CRs from patch.)
patching file LICENSE.txt
patch: **** malformed patch at line 312: --- 2,1 ----

And does not seem to be working in test drupal install

mkinnan’s picture

SamRose,

Following the Cygwin (http://drupal.org/node/32875) process for applying patches worked for me!! I installed Drupal 5.7 fresh and the image module, copied the patch imagenote files to an 'imagenotes' directory i created under /modules, created and copied over the *.info file, copied over the 'fnclient' files, enabled the modules, granted access, uploaded image, annotated, ran cron, searched for words in annotation, and it all worked perfectly. If you have any questions, please let me know!! I realize the license.txt file gives an error, but that does not affect the install. I need to remake the patch and not include the license.txt.

Another person also got this to work, "Patch is working great for me on my dev site."

http://drupal.org/node/240456

Mark

SamRose’s picture

The license text is indeed the only actual error. Upon review I see the patch did actually apply. I am using the http://drupal.org/project/fotonotes module, but I'll still test the patched module on my site. Thanks!

mkinnan’s picture

SamRose,

I hope you try the patch. This module was not only converted to work on drupal 5.7, but it also was modified as follows:

- Only the user who uploaded the image can add/delete the annotations.

- When the image is viewed in PREVIEW mode versus ORIGINAL mode, the 'box' appears around the same region in the images!!!!!

- The annotations are searched when you perform a search.

- Some of the other code in the module (i.e. saving annotations) was modified to work better

Mark

MicroPaul’s picture

Hi,
I was wondering if anybody had this module for Drupal 5 that works with PHP 5. I have read that the patch only works with PHP 4?

jjjames’s picture

Any plans on supporting D6?
thanks

SamRose’s picture