Best way to handle user image uploads + autoform?


#1

Hello, quick question. I’ve set up a schema that is being used to generate a form, but I want to add the ability to upload image files from their computer as part of the requirements for submitting this form.

What would be the best way to integrate this kind of functionality with auto form and simple schema? Any recommendations on what to look at, or how to go about doing this? Essentially I’d like to integrate an image field into my existing schema without breaking anything, and then turn that field into a prompt to upload images in the form.

Thanks in advance for any help!


#2

You should use https://atmospherejs.com/shinn/autoform-file. It is a fork from yogiben’s package that still has bugs that are not fixed (seems not maintained anymore)