I make a fresh install of drupal 6.4 with last version of lightbox 2. Then I follow the guide on http://drupal.org/node/144488 to check that lightbox 2 works well by itself.

Then I follow the "Lightbox2 - How to use with CCK Imagefield and Imagecache" on http://drupal.org/node/274714. The imagecache setting is "disp" and the content type is "type_image". Compared to this tutorial there are a few modifications linked to some additionnal modules required (imageapi, filefield). I then set the admin/content/node-type/type-image/display "teaser" and "full node" settings to "disp image" and the node containing the image displays well. Now when I set "teaser" and "full node" settings "Lightbox2: disp->disp", then the node appears empty! in the code, the

  <div class="content clear-block">
    <div class="field field-type-image field-field-image">
      <div class="field-label">c&#039;est le champ image:&nbsp;</div>
    <div class="field-items">
                  <div class="field-item">
                                <img src="http://localhost/drupalteslightbox/sites/default/files/imagecache/disp/2006-02-18 18-10-12.jpg" alt="" title=""  width="200" height="200" />              </div>
        </div>
</div>
  </div>

is replaced by:

 <div class="content clear-block">
      </div>

Lightbox does work in the basic configuration but not in the cck context. Does anybody have an idea? NB: it was the same with thickbox until the very last revision (2008-Aug-30).

Thanks in advance!
Laurent

NB: it was the same with thickbox until the very last revision (2008-Aug-30).
NB2: conf:
Content Construction Kit (CCK) 6.x-2.0-rc6
FileField 6.x-3.0-alpha4
ImageAPI 6.x-1.0-alpha2
ImageCache 6.x-1.0-alpha2
ImageField 6.x-3.0-alpha2
Lightbox2 6.x-1.8
Thickbox 6.x-1.x-dev (2008-Aug-30)

Comments

stella’s picture

Status: Active » Closed (duplicate)
clapiotte’s picture

Thanks, stella!
Laurent

abdulhaleems’s picture

Title: problem with cck/imagecache on drupal 6 » problem with lightbox/cck/imagecache on drupal 6

Any one can help or suggest a good tutorial to create slide-show using lightbox 2 in Drupal 6.5. I created a content type with image field, and set the display setting to "LightBox 2 slideshow:original -> my_ImageCache present Name". and i created a view with content type & set its display format to "LightBox 2 slideshow:original -> my_ImageCache present Name".

I uploaded 2 images to the above field, but nothing happened. What is the problem?

Please help me to solve this problem.

thanks

stella’s picture

abdulhaleems: this is a duplicate of #283661: Drupal 6.16, Lightbox2, imagecache, imagefield and cck issue, please use the latest dev release.