We need to output the gallery in a custom node-template, without using $content. We use two image-fields on the node. If we remove the secong image-field and downgrade to version 5.x 1.4, this code works fine:

print theme('imagefield_gallery_lightbox2', $node->field_fieldname, $node);

But what is the correct syntax in 5.x-2.0-alpha4??

I noticed the name of the gallery-module changed from 'imagefield_gallery_lightbox2' to 'lightbox2_imagefield_gallery'

Altering the code to the new name of the module

print theme('lightbox2_imagefield_gallery', $node->field_fieldname, $node);

Gives me this error:
warning: Missing argument 3 for theme_lightbox2_imagefield_gallery() in C:\drupal\journalisten.no\trunk\drupal5\sites\all\modules\imagefield_gallery\lightbox2_imagefield_gallery\lightbox2_imagefield_gallery.module on line 366.

I would really love some help :-)

espenmoe
Oslo, Norway