If you never saved the 'Display fields' page, Imagefield falls back on a default formatter. Currently, however, that default value is simply wrong: it is 'default', whereas it must be 'imagefield_default'. While saving the 'Display fields' page once is a workaround for this issue, the attached patch fixes the code. Some users in #260585: Images don't display after upgrade to ImageField 2.1... seem to be affected by this issue, but not all.

CommentFileSizeAuthor
imagefield-default.patch891 bytessmk-ka

Comments

bomarmonk’s picture

Status: Needs review » Reviewed & tested by the community

Bingo. Please apply this patch! I was scratching my head and worried after my upgrade. But this did the trick. Please commit!

farez’s picture

Yeah, pls commit... I would have spent hours trying to figure this out if joachim-n hadn't pointed out this issue on #drupaluk!

F

drewish’s picture

Version: 5.x-2.1 » 5.x-2.x-dev
Status: Reviewed & tested by the community » Fixed

thanks for the reviews. committed to DRUPAL-5--2.

Status: Fixed » Closed (fixed)

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