Commit 0e5e2009 authored by rustyy's avatar rustyy Committed by frjo
Browse files

Issue #2086403 by rustyy: Adopt image attributes in theme_colorbox_image_formatter().

parent 46fc83c9
......@@ -35,6 +35,10 @@ function theme_colorbox_image_formatter($variables) {
$image['height'] = $item['height'];
}
if (isset($item['attributes'])) {
$image['attributes'] = $item['attributes'];
}
$entity_title = entity_label($entity_type, $entity);
switch ($settings['colorbox_caption']) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment