-1

I have created a module to upload and save images in magento2 backend.

When we upload image for the first time, image gets saved in the backend. But when next time updating another fields and saving the data, image gets deleted from the backend.

Please, any solutions for this issue?

1
  • 1
    Please update your code to investigate.. Oct 24, 2019 at 7:29

1 Answer 1

0

I have fixed this issue by removing the unset condition for checking images in the save controller.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.