magento2 – I want to remove light box and enable magnifier in product image


I tried this

        <var name="magnifier">
            <var name="fullscreenzoom">20</var>  <!-- Zoom for fullscreen (integer)-->
            <var name="top"></var> <!-- Top position of magnifier -->
            <var name="left"></var> <!-- Left position of magnifier -->
            <var name="width"></var> <!-- Width of magnifier block -->
            <var name="height"></var> <!-- Height of magnifier block -->
            <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
            <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
        </var>

and this

<var name="gallery">
          <var name="allowfullscreen">false</var> <!-- Turn on/off fullscreen (true/false) -->
</var>

Link: https://brijonline.com/black-tussar-georgette-sari.html