I use Lightbox2 on my site and have a special class defined in the "Custom class images" field so that any image that I tag with this class gets grouped in a Lightbox slideshow.
I also use Thickbox exclusively for the embedded media field because I find Thickbox better for this purpose.
When configuring the Display options (Edit content type->Display fields) it looks like both players are invoked when choosing "Thickbox/Lightbox2: Image Thumbnail->Full Size Video"
I submitted this as a bug report because there should be some mechanism to choose which player to use if both are installed on a users system.
thx for a great module--
pp
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | lightbox2-thickbox.png | 45.66 KB | ppmax |
Comments
Comment #1
ppmax commentedBump?
Thought you'd like to see a screenshot of what happens when both Lightbox2 and Thickbox are installed (see attached).
Comment #2
alex ua commentedI'm marking as a feature request, since there's nothing that says both of these have to be enabled. But, I'd be happy to submit a patch if anyone comes up with an acceptable solution.
Comment #3
tjb74 commentedI have this issue too as I am using both Lightbox and Thickbox modules on my Drupal site... It would be great if the emfield video module didn't bring up both. Is it not possible in the display options for field for the content type to have an option like: Thickbox: Image Thumbnail -> Fullsize Video and Lightbox2: Image Thumbnail -> Fullsize Video, rather than the current Thickbox/Lightbox2: Image Thumbnail -> Fullsize Video? I am surprised that this is not more of an issue for other users as I have several reasons why both Light Box and Thickbox are installed. Thanks
Comment #4
timaholt commentedI'm having this same issue - any workarounds?
Comment #5
Nick Robillard commentedAnything? (this is clearly a bug)
Quite surprised more people aren't reporting this.
Comment #6
Nick Robillard commentedI've dug into the module and have found this.
In emvideo.theme.inc:
So if Thickbox/Lightbox formatter is being used and both modules are enabled, you're always going to get both popping up at once. :S
This is quite unfortunate.
In my case, simply commenting out the
'rel' => ...line is good enough (since i prefer thickbox for all video popups) but there obviously needs to be some more logic here.I propose a setting here /admin/content/node-type/whatever/fields/field_video, that allows one to set priority between thickbox and lightbox2. Then in theme_emvideo_thickbox(), simply check for this setting and format class/rel attributes appropriately.
Comment #7
Nick Robillard commentedChanging status to bug report. Although the solution could be considered a feature request, the base problem here is, again, a bug. (unless i'm blind and am missing something)
Comment #8
aaron commentedfixed and committed to the dev release. there are now options for thickbox/lightbox2/shadowbox.
Comment #9
Nick Robillard commentedExcellent - thank you!
Comment #10
Nick Robillard commentedConfirmed that latest dev release fixes issue - closing.