2amigos Yii2 Gallery Widget

Hey, I am trying to customise the gallery widget since I need more info (some divs etc) inside the basic html it outputs. This is what it defaults too below. I know how to find the code that creates this and edit that under /vendor but want to make the change correctly (and permanently), any hints on how to do this? I have tried adding a controllerMap in [font="Courier New"]web.php[/font] and adding the controller/extending it as I have done for other extensions but not sure where to put the controllerMap code and it belongs under components or under modules and what it should look like exactly. Hope I make sense. OR am I going about this the wrong way and there is already a way to tweak the output?


</div><div><div id=""></div><div>   <a class="gallery-item" href="/images/gallery/large/gallery-001.jpg" title="Some title"></div><div>      <img src="/images/gallery/small/gallery-001.jpg" alt=""></div><div>   </a></div><div>   <a class="gallery-item" href="/images/gallery/large/gallery-001.jpg" title="Some title"></div><div>      <img src="/images/gallery/small/gallery-001.jpg" alt=""></div><div>   </a></div><div>    ...</div><div></div>

Here is a link to the plugin.https://github.com/2amigos/yii2-gallery-widget