How to Create Custom Image Uploader Attribute in Category with Drag & Drop Option
Create registration.php file inside app/code/Webcreta/CustomImage folder <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Webcreta_CustomImage', __DIR__ ); Create module.xml file inside app/code/Webcreta/CustomImage/etc folder <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Webcreta_CustomImage" setup_version="1.0.0" /> </config> Create InstallData.php file inside app/code/Webcreta/CustomImage/Setup folder <?php namespace Webcreta\CustomImage\Setup; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; …