1

We want to add the "Image Upload" option to table view type multiple fields under store configuration section using system.xml. Check the below screenshot for more clarification.

enter image description here

Any help/suggestion will be highly appreciated. Thank you.

1 Answer 1

0

Try this in your System.xml file its work

enter image description here

<field id="logo" translate="label" type="image" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Image Upload</label>
            <backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
            <upload_dir config="system/filesystem/media" scope_info="1">logo</upload_dir>
            <base_url type="media" scope_info="1">logo</base_url>
            <comment><![CDATA[Allowed file types: jpeg, gif, png.]]></comment>
        </field>

Thanks

2
  • As i told before i want this in table type view. In Magento language in serialization fields. Do not want sign image upload fields but want it with other 2 fields. Check screenshot shared by me. Commented Oct 21, 2019 at 9:48
  • Try this, magento.stackexchange.com/questions/198654/… Commented Oct 21, 2019 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.