Hi,

Been playing with PROG Gallery and really impressed with it. While I accept that one of the missions was to create a module with a minimal set of options there is a feature i would like to see added.

It would be nice to have a feature that clicking on the preview image would open a lightbox window and show the original/full size image. This seems to me better functionality than just moving onto the next image (current operation which can be handled by clicking on the thumbnails).

Alas I'm not a js coder so amd not sure what needs to be done here to make it work in js mode. However having a quick proof of concept hack, it was easy to make work in "nojs" mode by using:

      $nojs_image .= '<a href="'. base_path().$entry->images['_original'] .'" rel="lightbox"><div id="gallery_album_image_container">'."\n"; 

instead of:

$nojs_image .= '<a href="'. url('node/'.$album_content[$nextindex]['nid']) .'" class="gallery_album_image_href"><div id="gallery_album_image_container">'."\n";

If this is functionality that you would be interested in having added to the module I will create a patch to handle the normal php side of it, but someone else would need to work on the js side.

Thanks,

Nibor