Upload Images to Wordpress

by 4 replies
6
Looking for a Wordpress plugin paid/free that allow subscribers to upload images and that have to get manually approved to be posted. Anyone have any suggestions.

Thanks Mike
#website design #images #upload #wordpress
  • Hello there,

    you can try this in functions.php :

    Code:
    if ( current_user_can('contributor') && !current_user_can('upload_files') )
    add_action('admin_init', 'allow_contributor_uploads');
    
    function allow_contributor_uploads() {
          = get_role('contributor');
         ('upload_files');
    }
    you can always change the role to subscribers..

    Goodluck
    • [ 1 ] Thanks
  • Thanks, was looking more for a plugin where I can collect some info and have them upload a photo and have it set to draft then based on approval set to a gallery.
  • Haven't heard of a plugin like that, but you could use the above code from Mariya, but change it to allow subscribers to upload images and then wherever you are displaying the images in your theme, you can have the images only display if the user is a contributor. That way, subscribers could upload images which you could then look over. If you approve, then you could change their status to contributor which would show their images.
    • [ 1 ] Thanks
  • Most of the plugins I've seen are going to be a little broader than just images but certainly could be tweaked.
    5 WordPress Plugins to Let Users Submit Content from the Frontend - WPMU DEV

    Are you already using the GravityForms plugin?
    It will do what your intending to do.

    P.S. Here's a decent article I bumped into awhile back that targets what your trying to do.
    Just make sure to review the code since it's a few years old. May have to adjust a few hooks, etc... and tweak a little to your needs.
    http://code.tutsplus.com/articles/al...site--wp-22601
    • [ 1 ] Thanks
  • Banned
    [DELETED]

Next Topics on Trending Feed