at the beginning of function imagecache_field_formatter() (line 245) there's a check

  if (!isset($item['fid'])) {

unfortunately the value $item['fid'] is set to 0 which makes this check not work.
replacing the check with

  if (empty($item['fid'])) {

makes things work as expected.

Comments

hbfkf’s picture

Works for me. Thanks a lot.

budda’s picture

The code looks like it was taken right out of the example CCK code.

It also appears to be missing the 4th parameter for the hook $node?

dopry’s picture

Status: Active » Closed (fixed)

umm no...
$arr = array('fid' => 0)
isset($arr['fid']) returns true....