Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can you configure the automatic handler for image nodes to include the whole gallery, say 35 pics, in a group and not just the ones per page, lets say 10? Now I force my users to enter and exit the lightbox several times to watch the whole gallery. Some will too easily miss the other pictures or at least not enjoy the two additional clicks and loading time.
An automator "lightbox full gallery group" and "lightbox full gallery slideshow" would be great.
Comment | File | Size | Author |
---|---|---|---|
#39 | slideshow.js_.txt | 2.02 KB | malcomio |
Comments
Comment #1
stella CreditAttribution: stella commentedIt's not possible at the moment and I'm not sure it will be for quite a while.
Comment #2
spidersilk CreditAttribution: spidersilk commentedA workaround for this might be to increase the number of images per page in admin > settings > image galleries so that all your images appear on one page, and thus in one slideshow.
Comment #3
altavis CreditAttribution: altavis commentedI also would like to request that feature and I'm sure You know the solution. Since paging mechanism generates links like this: /image/tid/20?page=2 maybe it wouldn't be complicated to check page code for them and ask server for generate that pages just for taking all images urls?
Anyway, thanks for a great module.
Comment #4
betz CreditAttribution: betz commentedsubscribing
Comment #5
dirksonii CreditAttribution: dirksonii commentedsubscribe
Comment #6
jfall CreditAttribution: jfall commented+1
Paged views make a lot of sense for organizing thumbnails in large galleries, but the lightbox should browse through all images in the entire gallery / view, not just the ones displayed on the current page. I get a lot of requests for this feature.
BTW - many thanks for all your work on lightbox2 - it is an indispensable module.
Comment #7
codemannsubscribe
Comment #8
tenazrael CreditAttribution: tenazrael commentedsubscribe
Comment #9
tjb74 CreditAttribution: tjb74 commentedsubscribe
Comment #10
mnordstrom CreditAttribution: mnordstrom commentedsubscribe
Comment #11
Valcilon CreditAttribution: Valcilon commentedSubscribe. This is very important.
Comment #12
my-family CreditAttribution: my-family commented+1, it would help me a lot.
Otherwise, Lightbox 2 is a nice module, thanks.
Comment #13
milos.kroulik CreditAttribution: milos.kroulik commentedSubscribe. This limitation makes image galleries almost unusable. I would even pay small amount to anyone, who can handle it.
And I would also like to add, that the solution should work also for ajax pager (this is exactly my user case).
Comment #14
FL4PJ4CK CreditAttribution: FL4PJ4CK commentedsubscribe
Comment #15
vronkdaut CreditAttribution: vronkdaut commentedone workaround i can think of:
generally as proposed in #2 (+ with a little tweak):
adjust the allowed number of nodes on one page of the view to some high number or even better unlimited.
but as this could lead to too many images loaded on one page, here the tweak:
use the class="lightbox_hide_image" attribute as explained in README for the images you don't want to show, ie those which would exceed your reasonable paging-limit,
effectively "reimplementing" the paging-functionality.
Well actually not really reimplementing all the functionality, but rather just rudely cutting after say 20 images.
I am not even sure where to code the tweak.
This (pseudocode) would go eg in
node-image.tpl.php
, but someone please throw in where to get the position number of the node in the view.Alternatively one can work with two views:
- one with the
paging_limit=reasonable_paging_limit
- the second with
paging_limit=0
andoffset=reasonable_paging_limit
At least the second view would need the adapted processing as proposed in the pseudocode.
(But the condition could be simply the
$view->name
; or put in view-specific template)Eg with the insert_view module one could get these two views on one page.
However this is just theory, never tried. ;)
Comment #16
2noame CreditAttribution: 2noame commentedsubscribing
Comment #17
canyonbreeze CreditAttribution: canyonbreeze commentedsubscribe
Comment #18
johan2 CreditAttribution: johan2 commentedI have the same issue. People want to click on an image that opens in the lightbox where they can continue to view the other images. It is something like opening a book. You see the cover and want to start looking into it.
What I was thinking was to create scaled thumbs 0px by 0px and others Xpx by Xpx in the image cache. Then create a View from both, lightbox-0-thumb to Original + lightbox X-thumb to Original.
If the visible thumb would load all the images in the lightbox this would be great.
Comment #19
danyg CreditAttribution: danyg commentedSubscribe also.
And also thanks for the module, this is always installed by default :)
Comment #20
ManyNancy CreditAttribution: ManyNancy commentedThis is definitely possible. I can contribute a 50 USD bounty for this feature.
Comment #21
sdk CreditAttribution: sdk commentedSubscribing
Comment #22
mikiciuk CreditAttribution: mikiciuk commentedsubscribe
Comment #23
rvallejo CreditAttribution: rvallejo commentedSubscribing. This functionality just makes sense.
Comment #24
crispinbailey CreditAttribution: crispinbailey commentedSubscribing.
I just discovered this bug the hard way as we recently implemented pagination for our gallery due to page weight issues (you can only have so many thumbnails on a single page before it gets unwieldy). Now, clicking on a thumbnail on page 2 (or 3...) displays the wrong image in the lightbox, as it counts images from the start (ie page 1). So, clicking on the 9th thumbnail on page 3 displays image 9 from page 1. What's odd is it correctly displays the numbering (eg "Image 9 of 50") for each individual page.
EDIT: removed bit about only 2 options as 1 option (remove "grouping" in view) doesn't actually fix this issue because Lightbox still counts from 1st page. So really, the only option right now is to have 1 really humungous gallery page. :(
Comment #25
mooky CreditAttribution: mooky commentedSubscribing. I have been building two sites with the intention of using this excellent module. I didn't anticipate this.
Comment #26
solona CreditAttribution: solona commentedsubscribing
Comment #27
codewaggle CreditAttribution: codewaggle commentedSubscribe
Comment #28
euchrid9 CreditAttribution: euchrid9 commentedFor people still having trouble with this issue and similar ones, I hope this ENORMOUS post I created will help: http://drupal.org/node/832502
Essentially, you use Imagecache to create 1px versions of your images, display them in a view within the node(s) that you wish to link to a content type or vocabulary, and then hide the View with CSS.
I'm sure it can be improved, but all the galleries on my site were created in this way: www.euchrid.co.uk
Hope it helps!
Comment #29
crispinbailey CreditAttribution: crispinbailey commentedAnyone still struggling with this, go here for the fix: http://drupal.org/node/770718 ;)
Comment #30
k_and_j CreditAttribution: k_and_j commented@29 - As far as I can tell, that fixes a different issue (which I'm not having). If I click on picture 1 on page 1 (with 10 images per page) I get a slideshow of the 10 images on page 1. If I click on picture 1 on page 2, I get a slideshow of the 10 images on page 2 only. What you linked to is a (fixed?) bug where clicking on picture 1 on page 2 shows the slideshow from page 1, not page 2.
Still looking to see if Lightbox can open a slideshow of all images in a gallery... I'm not too thrilled with the types of fixes that have been posted so far.
Comment #31
monotaga CreditAttribution: monotaga commentedI feel like this could be done using some AJAX. Too little time...
Comment #32
scarvajal CreditAttribution: scarvajal commented+1 and subscribing
Comment #33
paranormals CreditAttribution: paranormals commentedsubscribing
Comment #34
stella CreditAttribution: stella commentedComment #35
stella CreditAttribution: stella commentedComment #36
eL CreditAttribution: eL commented2 years later and still no usable solution?
Comment #37
jay-dee-ess CreditAttribution: jay-dee-ess commented[edit]
Something that helped with my problem:
[site]/admin/settings/lightbox2/general -> CCK display settings -> Select Imagefield grouping in Views
I changed it to Group by NodeID, which, thankfully, works across my whole site.
Probably doesn't help the original poster, though...
Comment #38
waltWright CreditAttribution: waltWright commentedsubscribe
Comment #39
malcomio CreditAttribution: malcomio commentedI had a similar requirement, although the site was already using colorbox, rather than lightbox.
I managed to get a working lightbox of all images in the view, while showing only the current page's images.
It was quite hacky, using a hidden non-paged attachment, which shows all the images, and then some extra jQuery so that when you click on the visible link, its non-visible equivalent is sent a click event.
The view attachment just has the URL of the desired imagecache filesize, and is hidden with CSS.
When I get time, I'll try to patch the module to include it, but here's the code.
Ideally I would re-work this so that the number of items per page is sent from the view, rather than hard-coded in the JS.
Anyway, hope this helps someone.
Comment #40
mtoscano CreditAttribution: mtoscano commentedsubscribe, is someone working on a solution for this in the next release?
Thanks
Comment #41
scatteredbrainV CreditAttribution: scatteredbrainV commentedsubscribe, a much needed function.
Thanks for the great module, btw
Comment #42
epawel CreditAttribution: epawel commentedsubscribe, thx
Comment #43
stopshinal CreditAttribution: stopshinal commentedany progress or alternative at this point?
Comment #44
johan2 CreditAttribution: johan2 commentedI struggled also with this issue and received remarks that it is a pitty that only one page is showing in the lightbox. The idea was to have a view with a pager for all the pages in the magazine, the pages are the images from the magazine. I wanted to show all the pages on click in the lightbox.
The solution 39 was the solution (after 1 year). So I added an attachment, attached it to the page-view but with a css-style that I created first in the local css file (.hidden with content invisible and height 0). Now each magazine has this attachment with the style hidden (without . ). It works perfect and even makes sense since the lightbox is only capable to show what is actually present in the view.
So thx for the help.