I Want to override this is Current theme path that i want to override. I have a file In
/public_html/app/design/frontend/Venustheme/fashion/Magento_Catalog/templates/product/view/gallery.phtml
but i want to override in my theme, Path Like :-
app/code/Vendor/Module/view/frontend/templates/gallery.phtml
here is my xml file :-preview_product_gallery.xml
<?xml version="1.0"?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<referenceBlock name="product.list.gallery">
<action method="setTemplate">
<argument name="template" xsi:type="string">Vendor_Module::gallery.phtml</argument>
</action>
</referenceBlock>
</referenceContainer>
</body>
</page>