in the theme_lightbox2_image_ncck function (starting line 1868), $height is set

$height = $field['widget']['thumbnail_height'] === '' ? variable_get('image_ncck_default_full_height', IMAGE_NCCK_DEFAULT_FULL_HEIGHT) : $field['widget']['thumbnail_height'];

but as the title says, IMAGE_NCCK_DEFAULT_FULL_HEIGHT defaults to 0

so, at the moment, the images cant display as their height is 0. Lines 1896 and 1897 need to be updated to be

    if($width) $attributes['width'] = $width;
    if($height)$attributes['height'] = $height;

so they are not set if = 0; I personal would remove them all together, as defaults will still warp images of incorrect sizes.

a_c_m

Comments

stella’s picture

Status: Needs review » Fixed

Done and checked in.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in Lightbox2 6.x-1.9 and 5.x-2.9.

Cheers,
Stella