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.
Stella
I dont remember seeing this option
In Lightbox mode we get an image with Screen Relative Size, we also have the ability to re-size to maximum image size.
In Lightshow we get an image with Screen relative size, we also have the ability to play and pause the slideshow
The thought is that when the slideshow is paused could we have the abilty to re-size the current image to maximum, and then when a user wants to continue the slideshow it it returns to the normal Screen Relative Size.
John
Comments
Comment #1
mattyoung CreditAttribution: mattyoung commented"lightbox" and "lightshow" modes should be combined to do the same thing: allow slideshow and when paused, allow zoom.
Thanks!
Comment #2
mandclu CreditAttribution: mandclu commentedYep, I'll throw in a +1 on being able to zoom in on a paused slideshow.
Comment #3
xG3n1uS CreditAttribution: xG3n1uS commentedI've changed 2 lines in the lightbox.js and now I can Zoom In and Out in the Slideshow.
line 478
original ->
if (!Lightbox.disableZoom && !Lightbox.isSlideshow) {
changed ->
if (!Lightbox.disableZoom) {
line 493
original ->
if (!Lightbox.disableResize && Lightbox.isSlideshow === false && !Lightbox.disableZoom) {
changed ->
if (!Lightbox.disableResize && !Lightbox.disableZoom) {
I'm using Lightbox2 6.x-1.11
Greetings ceri008
Comment #4
yoavi CreditAttribution: yoavi commentedhi
i had the same problem with my D7 drupal site
same fix worked for me thanks xG3n1uS
yoav