Magento Custom Module: multiple Image Uploader in adminhtml form

后端 未结 3 1599
后悔当初
后悔当初 2021-02-10 05:15

i have created adminhtml module it is working fine. in create new item form there are 4 field name , images, url and email id;

i have used file uploader to upload images

3条回答
  •  滥情空心
    2021-02-10 05:37

    I have used this code in my web application, try it.

    $fieldset->addField('image', 'image', array(
                'name'      => 'image',
                'multiple'  => 'multiple',
                'mulitple'  => true,
                'label'     => Mage::helper('magentostudy_design')->__('design Image'),
                'title'     => Mage::helper('magentostudy_design')->__('design Image'),
                'required'  => true,
                'disabled'  => $isElementDisabled
            ));
    

提交回复
热议问题