As suggested by kmonty in this post, I'm opening new issue.

It would be great if Lightbox2 would have "Download Original Image" link on it, whenever an image is opened from gallery. That link would open original image in new browser tab / window. Also, "View Image Details" would also be nice, which would open node itself. Perhaps the latter would be even better, since "Download Original Image" exists when viewing node.

Also, it would be very nice if image title would be displayed in LightBox2 as well.

Comments

kmonty’s picture

Component: User interface » Lightbox2 Contrib
kmonty’s picture

Version: 6.x-2.0-alpha10 » 6.x-2.x-dev
Yaroslav_ki’s picture

I want to offer one more request.

We can choose fields, which should be displayed in image node. It would be great if we can choose fields, which should be displayed in Lightbox2 window too. For example: title, author, description.

The reason - I think, it is better to stay in one "Lightbox2" environment all time while watching gallery, rather than need to use node view.

kmonty’s picture

These are all great suggestions but I do not have time to integrate them right now. I'll happily accept code snippets or, even better, patches.

Yaroslav_ki’s picture

I'll try, but I have not enough skills...
A suppose to use option of Lightbox2 http://drupal.org/node/276378?, and send not an image, but a full image node, or a list of fields.
I now need to understand content of $image.

Yaroslav_ki’s picture

I made these changes in node_gallery_lightbox2.module
function node_gallery_lightbox2_preprocess_gallery_image_thumbnail(&$vars)

 ... 
case NODE_GALLERY_VIEW_IMAGE_LIST:
      if ($config['gallery']['gallery_display_type'] == 'lightbox2_gallery') {
        $vars['image_output'] = l(theme('image_view', $config['image_size']['thumbnail'], $image),
         'node/'. $image->nid.'/lightbox2',
          array('html' => TRUE, 'attributes' => array('rel' => 'lightframe[hi|width:700px; height:600px;]')));
      }
      break;

Then I remove some unnecessary data from node-image-default.tpl.php.
And I get it :)

So, it is need two steps
1. add new veiw to module
2. add template for this view

But modal and iframe window have constant size! It's terrible :(
I postes request here http://drupal.org/node/629668

dddave’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev
scroogie’s picture

I don't know anything about Lightbox2, but as NG3 is based on Views, Imagefield and Imagecache, shouldn't all this integration already be possible out of the box? Lightbox2 states it supports those modules natively.

justintime’s picture

My opinion is that the lightbox module in contrib will simply go away in NG3 because all the integration is out-of-the-box. I hesitate to close this issue, because I personally haven't ever used the contrib lightbox module. I don't know if it offers anything that NG3 doesn't? Maybe @kmonty can chime in?

justintime’s picture

Status: Active » Fixed

Anything that can be done with the Lightbox2 module should work with NG3 now - the lightbox2 submodule has been completely removed from NG3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.