When viewing images as a slideshow they are resized irrespective of the configuration settings. This leads to a significant drop-off in quality. It would be nice if the opt in / out of resizing was applied to slideshows in the same way that it is applied to individually presented images.

CommentFileSizeAuthor
#3 lightbox.js.patch393 bytestimoguic
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RichieRich’s picture

Does anybody have any thoughts on this? It's been mentioned by a few people over the past year or so on the main forum and it would be great if it could be sorted out. If anybody could point me in the right direction in the code that would be a start.

timoguic’s picture

Version: 6.x-1.9 » 6.x-1.11

Hi,

I was struggling with the same issue until I came to this series of posts by RichieRich.
I have the same problem - I tried to play with the options for half a day with no luck. I also tried looking into the code but I did not manage to solve the bug.

I have Drupal 6.20 and Lightbox-1.11, everything works perfectly otherwise. I have a content type with a CCK image field. The zoom option is not taken into account when setting "Lightbox2 slightshow" in the Display fields tab of the Content type settings. The image is displayed resize despite changing the setting in the admin page.

Thanks - this is a fantastic module, btw :)

timoguic’s picture

Status: Active » Needs review
FileSize
393 bytes

After a good night's sleep, I think I found where the problem is.
In the lightbox.js file, the following test is performed:

if (Lightbox.disableResize && !Lightbox.isSlideshow) {

which prevents the 'zoomIn' variable from being set when in a slideshow.

I attached a patch - it works for me...