Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Lightbox2 Contrib
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2009 at 14:09 UTC
Updated:
11 Nov 2010 at 22:00 UTC
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
Comment #1
kmontyComment #2
kmontyComment #3
Yaroslav_ki commentedI 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.
Comment #4
kmontyThese 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.
Comment #5
Yaroslav_ki commentedI'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.
Comment #6
Yaroslav_ki commentedI made these changes in node_gallery_lightbox2.module
function node_gallery_lightbox2_preprocess_gallery_image_thumbnail(&$vars)
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
Comment #7
dddave commentedComment #8
scroogie commentedI 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.
Comment #9
justintime commentedMy 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?
Comment #10
justintime commentedAnything that can be done with the Lightbox2 module should work with NG3 now - the lightbox2 submodule has been completely removed from NG3.