<templates>
  <t t-name="o-spreadsheet-ImageFigure">
    <img t-att-src="this.getImagePath" class="w-100 h-100"/>
    <div
      class="o-figure-menu position-absolute m-2 align-items-center"
      t-if="this.shouldShowMenuButton">
      <div
        class="o-figure-menu-item d-flex align-items-center justify-content-center rounded p-1"
        t-ref="this.menuButtonRef"
        t-on-click="this.showMenu">
        <t t-call="o-spreadsheet-Icon.MORE_MENU"/>
      </div>
    </div>
  </t>
</templates>
