How to Allow Users to Upload Images in WordPress Comments.

Comment Images

Images and comments are both powerful tools to boost user engagement on your site. This is one of the reasons why Facebook allow users to upload images with their comments. What if we told you that you can add the same functionality in WordPress comments? Depending on your site’s niche and target audience, this could definitely boost user engagement on your site. In this article, we will show you how to allow users to upload images in WordPress comments.

First thing you need to do is install and activate Comment Images plugin. Upon activation, the plugin will check your WordPress hosting environment for support to upload images from your comment form. If your hosting environment does not support the function used by the plugin, then it will show you a notification and the plugin will not work on your site.




However if you don’t see any errors, then you’re good to go. There are no plugin settings for you to configure. You can simply go to a post and see the image upload button below the comment form in action.ers to upload images in WordPress comments.

You will be able to see the images uploaded by the users in the WordPress admin area by visiting the Comments screen.



All images uploaded by users are stored in your WordPress Media Library. If you want to delete an image uploaded by a user, then you need to go to Media » Library, locate the image, and then delete it.


It will be good to add some comment posting guidelines on your site to let your visitors know what kind of images they can upload. 

To further boost media capabilities in your comments, you can enable oEmbed support for comments in WordPress. This will allow your users to not just upload an image, but they can also add YouTube videos, tweets, flickr photos and much more.


We hope that this article helped you increase user engagement by allowing users to upload images with comments in WordPress. For questions and feedback please leave a comment.


Comments Attachments

This plugin allows your visitors to attach files with their comments, such as documents and images. It uses only built in wordpress hooks, and provides you with multiple settings in you admin (using native WP_Settings API). With these you can:

  • Select if the upload field is before or after the default comment fields.
  • Make attachment a required field.
  • Select a label of upload field (default is ‘Upload Attachment’)
  • Select a label of attachment in comment text (default is ‘Attachment:’)
  • Select which file types are allowed to be attached.
  • Select if attachment is visible in the the actual comment.
  • Select if attachment should be attached to post your visitor comments on, or not.
  • Select position of attachment in comment, either before the main comment, or after it.
  • Decide whether attachment can be downloaded.
  • Decide if the attachment image should be displayed in a comment and select image size (it automatically loads all image sizes set up in your wordpress installation and by your theme using ‘add_image_size’)
  • Restrict file size of uploaded attachment.
  • Try WordPress 3.6^ experimental audio / video player

 

 

Add Comment