Home › Forums › Front-end Issues › Gallery field Front end role user › Reply To: Gallery field Front end role user
This is because subscribers do not have permission to upload files. You will need to either assign them to a role that can upload files or you’ll need to alter the subscriber permissions to allow them to upload. This https://wordpress.org/plugins/user-role-editor/ or similar plugins will let you do that.
But, a word of warning. Allowing subscribers the ability to upload files can be considered a security vulnerability. I would not do this on a site where anyone can join the site. You might want to think about an alternative. For example, you could create a repeater field with image sub fields. Then you can use the repeater in place of the gallery. If you want to keep the gallery you could build either an acf/pre_save_post or acf/save_post filter to copy the images from the repeater into the gallery.
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.