0

How to save my image in var folder ?
Now I have code in controller file.

1 Answer 1

0

This link describes the way to upload image in admin. Replace Media folder path to Var folder path. https://www.codextblog.com/magento-2/how-to-upload-image-or-file-in-custom-module-using-ui-component-in-magento-2/

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.