• I have a frontend form with an option to upload gallery images (ACF field photo gallery which is using your plugin). I also have an option to upload a single image (ACF field Image).
    When I use this form as an administrator and I have set the setting: ‘uploader’ => ‘wp’ all is working fine (I am able to select images for the gallery and the single image from the media library)
    But when I’m a not logged-in user, I’m not able to upload any images (because I don’t have access to the media library). I fixed this for the single ACF image by changing the setting ‘uploader’ => ‘wp’ to ‘uploader’ => ‘basic’. This way, I can select one from my local folders, when I want to upload a single image. However, this is not working for the image gallery. Nothing happens when I press the “add images” button.

    Can you please let me know how I can fix this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Navneil Naicker

    (@navzme)

    Hello,

    Please advise the plugin you have used to show the form in the front-end so I can check and advise on the possible solution.

    Thanks

    Thread Starter marjolein64

    (@marjolein64)

    I use ACF (Free) to display the form on the frontend:

    <?php acf_form(array(
                'post_id'       => 'new_post',
                'new_post'      => array(
                    'post_type'     => 'moestuinhulp',
                    'post_status'   => 'draft'
                ),
                'post_title' => false,
                'post_content'  => false,
                'field_groups' => array('group_61640c73e0e00', 'group_616e7c68d4a3e', 'group_616e86f05eafd'),
                'uploader' => 'basic',
                'submit_value'  => 'Aanmelden moestuinhulp',
                'instruction_placement' => 'label',
                'html_updated_message'  => '<div id="message" class="submitted-form"><p>%s</p></div>',
                'html_submit_button'  => '<input type="submit" class="acf-button button button-primary button-large" value="%s" />',
            )); ?>
    Thread Starter marjolein64

    (@marjolein64)

    Do you have any news about my issue for uploading images from the frontend?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload images to gallery from frontend’ is closed to new replies.