Add imageOptions to Gallery

$imageOptions = ArrayHelper::getValue($item, 'imageOptions', []);
return Html::a(Html::img($src, $imageOptions), $url, $options);