Meta Box
Support Forum
Support › MB Frontend Submission › Add attachment with submission formResolved
Hi! what is the correct way to add a attachments using mb submission form instead of wordpress media modal?
Hello,
If you don't want to use the WP media modal, you can use the field type image_upload or image. It doesn't open the modal when selecting an image to upload. Please follow the documentation https://docs.metabox.io/fields/image-upload/ https://docs.metabox.io/fields/image/
image_upload
image
I think I explained myself badly: I intended to create an attachment-type post with the classic main image but use frontend submission to do so
I understand your question. Currently, there isn't an option to upload media (attachment post type) in the frontend like the WordPress library in the backend. It could be so complicated if you use the custom code, please follow this topic https://wordpress.stackexchange.com/questions/194090/what-is-the-different-between-an-attachment-in-wp-posts-and-an-attachment-in-wp
ok thanks. I already did it using custom code, i was just wondering if there was a way to do this using metabox.