Home › Forums › ACF PRO › Submitted images not retrieved in acf_form › Reply To: Submitted images not retrieved in acf_form
Hi @beee
Yes, to be able to upload the images using wp uploader, the user role should have at least the upload_files
capability. Sometimes, they also need to have the create_posts
, delete_posts
, and edit_posts
capabilities.
If you don’t want to use the wp-uploader, you can always use the basic uploader like what you have done. But I’m afraid it won’t work for the gallery field.
As a workaround, you can try to use the repeater field instead. That way, you can create a repeater with an image field as the subfield and your visitor can upload the images one by one. If you want to, you can also convert the data from repeater field to gallery field by using acf/save_post action.
I hope this helps 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.