Upload Images to Wordpress

4 replies
  • WEB DESIGN
  • |
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
#images #upload #wordpress
  • Profile picture of the author mariya20
    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
    {{ DiscussionBoard.errors[9619611].message }}
  • Profile picture of the author topnichewebsites
    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.
    Signature
    http://pixelcovers.com/ <- eBook add eCovers

    https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
    {{ DiscussionBoard.errors[9619717].message }}
  • Profile picture of the author Marketer Matt
    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.
    {{ DiscussionBoard.errors[9643095].message }}
  • Profile picture of the author David V
    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
    {{ DiscussionBoard.errors[9643155].message }}

Trending Topics