Posted by B.P.B on September 17, 2008 at 12:51am
10 followers
Jump to:
| Project: | Lightbox2 |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
My setup is:
Drupal 6.4
Lightbox2-dev (latest)
Fieldfield 6.x-3.0-alpha4
Imagefield 6.x-3.0-alpha2
Imagecache and ImageAPI 6.x-1.0-alpha2
CCK 6.x-2.0-rc7
I've used this setup on numerous 5.x sites and it works perfectly.
In 6.x there is no option to select lightbox2 in the dropdown list for CCK "Display fields".
I triple checked my setup and all seems proper. Clearing the cache did not help. Choosing Lightbox Lite had no effect either. I'm not sure what else to try. Please help.
http://img231.imageshack.us/my.php?image=lightbox2cckdisplayfiellg8.jpg
Comments
#1
Hmmm it's working fine for me, and I'm using the same versions of the modules as you. Can you ensure that you are using the latest 6.x dev version of the lightbox2 module?
If trying this on imagefields, please ensure both the imagefield and the imagecache modules are enabled.
Cheers,
Stella
#2
The problem was I created my photo gallery as a "filefield" with widget type "Image". According to the filefield module maintainer this method is more stable than choosing "imagefield" with a widget type "image".
Lightbox2 will only work (atleast in my case) if you choose Imagefield, widget type image.
I'll stick with the method that works with lightbox2. Sorry to have wasted your time.
#3
Hmmm I'll have to look into this a bit more.
Cheers,
Stella
#4
I had the same issue. What worked for me was to upgrade to and enable the latest dev version of Lightbox2 AND deleting my image field type. After I redefined the image field (same as B.P.B. above) the Lightbox2 options magically appeared in the display options.
It appears you need to have Imagecache, ImageAPI, and Lightbox2 all active BEFORE you define the imagefield. Bringing in any of these modules after the fact won't work.
#5
cweberusa: i think that's a different (known) issue. The one reported in this issue is to do with "filefield" fields.
#6
I had the same problem (with same configuration) as in 4#(and it's a different issue). I did as in #4 i.e. I updated to the dev. and deleted and recreated the fields and voila everything was working fine!
#7
I'm not sure it should be necessary to delete your imagefield. I think clearing the Drupal cache and resaving the display option for the imagefield should work.
#8
Hi Stella! I have tested a little With Drupal 6:
Drupal 6.5
FileField 6.x-3.0-alpha5
ImageAPI 6.x-1.0
ImageCache 6.x-2.0-beta1
ImageField 6.x-3.0-alpha2
Lightbox2 6.x-1.x-dev (2008-Sep-06)
First I installed Lightbox2 6.x-1.8 (2008-Jun-30) but Ligbox didn't work. The Lightbox options pops up in Content type ->Display fields but as expected the images in nodes then disappear on view. I the upgraded to dev. release but that did not bring any image back. You then need to go back to Content type ->Display fields and define what preset with Lightbox you wanted to see again, my settings had jumped back to "Generic files" (what ever that means).
What show stoppers do you have to fix before you are able to roll a new stable release Stella?
--
Steinmb
#9
I think I am having a similar problem, except that I see one lightbox2 field in the display fields (for CCK). This is lightbox2 iframe: original->node page. Selecting it results in no images getting displayed.
I have latest versions of Drupal, Filefield, ImageAPI, ImageCache, ImageField, and dev version of lightbox (I downloaded everything today).
I tried deleting and redefining the imagefield to no avail.
Please assist.
#10
Try flushing the Drupal cache.
#11
My install:
Everything updated with todays latest (non dev) versions.
Problem:
Like described in the original issue, only that I also didn't have the imagecache options available and the imagecache and imagecache ui module wasn't visible at admin/build/modules
Here is how I got the options back:
Flushing Drupal cache (several times) did not help in my case.
I did not realise imagecache was missing (as imageapi was there) so I deactivated filefield, imagefield, lightbox2, imagecache, imageapi and imageapi gd2 + reactivated them. No luck. Then I realised that imagecache was missing so I deleted the modules files and reuploaded them. Then I could activate the imagecache module and got back the lightbox module options in my view as well. Unfortunately when I combine Imagecache preset (which alone displays fine) with lightbox2 1.8 in views or directly in cck nothing is beeing displayed (nothing being displayed at all) - but that's a different issue I guess.
>> Updates lightbox2 to the latest dev and it works now :D
Hope this helps a bit to collect information where the problems could come from.
#12
I forgot to set presets for imagecache :(...it was a late night. Anyhow, it is working beautifully now. Thank you so much for the quick replies!
#13
Does anyone still have an outstanding issue with the lightbox2 CCK options not appearing? Or can I mark this fixed?
#14
Hi
No it works just great :-D
--
Steinmb
#15
Actually the issue still exists, that you must choose IMAGE -> IMAGE when creating a field.
IF you choose Fieldfield -> widget type IMAGE, it won't display.
But this is not critical of course.
#16
B.P.B. - can you try the latest dev release of the lightbox2 module? I'm pretty sure that's no longer an issue.
#17
I can confirm that the latest dev solved the 'no formatters for filefields' issue for me. I'm using a filefield with the image formatter, and it was even created BEFORE installing lightbox2! I installed the latest 6.x-dev code, and cleared my cache and all the image formatters started appearing.
I really like Lightbox2 over Thickbox, which is what I've been using until today. I especially like the ability to choose a specific imagecache-generated image variant instead of just having to link to the full size image. This is huge, because my clients all want to upload images right off their camera. I also really like the animations between images - that's uber-slickness that I really like.
#18
Looks like this bug got solved: I got the lightbox2 'display fields' but also introduced a new one: no content in the node view...
Choosing any of the lightbox2 display field options now results in an empty view of content for an imagefield.
#19
Investigating this more look like the lightbox2 theme function never gets called for imagefield what explains the empty view of content but doesn't solve the bug yet...
#20
trogie: please use the dev version of the lightbox2 module. You will need to run update.php after you upgrade, and will then need to resave your "display field" settings for the imagefields in question. If no lightbox2 options appear, then please ensure that you have some imagecache presets configured.
Cheers,
Stella
#21
ok! thanks Stella, I thought I was using the dev version, but after checking must have downed the latest stable version.
#22
Stella,
I can confirm same issue as trogie for ver 6.x-1.8.
Your fix in post #20 resolved issue for me.
jonathan
#23
Duplicate of #283661: Drupal 6.16, Lightbox2, imagecache, imagefield and cck issue