img_assist_display() takes an optional $attributes parameter, but doesn't do anything with it at the moment. It should be passed along to image_display().

Patch attached.

CommentFileSizeAuthor
img_assist_display.patch346 bytesles lim

Comments

les lim’s picture

Status: Active » Needs work

Changing status.

les lim’s picture

Status: Needs work » Needs review

whoops, changing status again.

les lim’s picture

Status: Needs review » Closed (duplicate)

This is actually an exact duplicate of #489136: Can't set image class in theme. I didn't notice because the title didn't quite match what I was expecting.