Support

Account

Home Forums Add-ons Gallery Field Acf form with basic uploader for a gallery field Reply To: Acf form with basic uploader for a gallery field

  • No, there isn’t a way to use the gallery field for users that are not logged in or do not have permissions to add media.

    To do what you want you would have to use to supply a different field for users than what is available in the admin. Create a gallery field for use in the admin and a repeater field for use on the front end. Then you would use acf/prepare_field on each of these to show/remove one of these fields dependent on if shown on front/admin. Then you would need to create an acf/save_post action that would get the values from the repeater when a form is submitted on the front end with acf_form() and update_field() on the gallery field to add the images to the gallery.

    Overall this would be a lot of work. The easier option is to just use a repeater instead of the gallery and then code display of the gallery to use the repeater instead.