The theme_image() function requires the attributes key to be set to an array.

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

CommentFileSizeAuthor
skinr.patch683 bytespillarsdotnet

Comments

jacine’s picture

Status: Needs review » Closed (works as designed)

This is a core bug. Attributes should not be required anywhere, except for one of two theme functions as far as I know. I have replied here: #1004556: Documentation problem with theme_image in the core issue.

pillarsdotnet’s picture

Yup; I've been educated. Sorry for the confusion.