Problem description

The #item_attributes argument is currently ignored by the theming system. By this, image data attributes currently can't be attached on the img tag.

Proposed solution

Add the #item_attributes definition to the Colorbox hook_theme() implementation. Attaching a patch for this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mxh created an issue. See original summary.

mxh’s picture

  • frjo committed 9573041 on 8.x-1.x authored by mxh
    Issue #2864466 by mxh: item_attributes are lost on theme processing
    
frjo’s picture

Status: Needs review » Fixed

Committed to 8-dev, thanks!

Status: Fixed » Closed (fixed)

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