The theme_image() function requires an 'attributes' key.

See also http://drupal.org/node/1004578 and http://drupal.org/node/1004556

CommentFileSizeAuthor
mollom.patch865 bytespillarsdotnet

Comments

dave reid’s picture

Status: Needs review » Postponed (maintainer needs more info)

Are you sure? Because this works just fine. The theme system loads in the defaults (which for $variables['attributes'] is an empty array).

dave reid’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

No, it does not require it. Please stop filing issues for a bug that is not a bug.

pillarsdotnet’s picture

Status: Closed (won't fix) » Closed (works as designed)

Dave is right.