Needs review
Project:
Lightbox2
Version:
6.x-1.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2010 at 05:22 UTC
Updated:
5 Jan 2011 at 14:51 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | lightbox.js.patch | 393 bytes | timoguic |
Comments
Comment #1
RichieRich commentedDoes 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.
Comment #2
timoguic commentedHi,
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 :)
Comment #3
timoguic commentedAfter 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...