0

How can i change from this

enter image description here

To this

enter image description here

My Code to create image upload is below. I don't want to create the form with UI component but i want to make the image upload like it.

    $fieldset->addField(
        'outfit_image',
        'image',
        [
            'name' => 'outfit_image',
            'label' => __('Outfit Image'),
            'title' => __('Outfit Image'),
            'required' => true,
        ]
    );
  • Which magento version are you using? – Chirag Patel May 9 at 10:28
  • magento 2.3.1 version – Avesh Naik May 9 at 10:30
  • If you want to do using $fieldset method then you have do more customization if it is possible then go with Ui-component it will take less time to finish it. – Chirag Patel May 9 at 10:33
  • What customization do i need to do? – Avesh Naik May 9 at 10:35
  • I have not try ever to do customization like this but as per your requirement i think there is need more customization. – Chirag Patel May 9 at 10:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.