What's WP
Our everything is about WordPress - best choice of WordPress users!
How to Allow Image Uploads in WordPress Comments

How to Allow Image Uploads in WordPress Comments

The comment section is one of the most important parts of your WordPress blog, because it enables users’ engagement on your website. Sometimes it may happen that commenters need to use images to help express their thoughts or deliver their message. In this case, there is a need for you to allow image uploads in WordPress comments.

Hopefully, to add this function, you do not need to bother yourself to do any complicated configurations. Instead, all you need is a WordPress plugin. In the following sections, we will show you how to use plugins to enable image uploads in WordPress Comments.

Use the Comment Images Plugin

The Comment Images plugin allows commenters easily to upload JPG, PNG, GIF or JPEG images and insert them to the comments.

The first thing you need to do is to login to your WordPress Dashboard, install the Comment Images plugin and activate it. If you are unclear about how to do that, refer to this detailed plugin installation guidance.

Install And Activate Comment Images

Once activated, the plugin will automatically check whether it is compatible with your hosting environment or not. If you are shown a notification indicating the function is not supported, then the plugin will not work properly on your website, otherwise, just feel free to proceed on.

Next, you do not need to configure any settings for this plugin. Just go to one of your posts and you should now find the “Choose File” button below the comment section in action.

Comment form

Now, users who want to make comments with images are able to add images to their content by clicking the button to upload the image file they need.

Once there is any image uploaded in the comment area, the administrator will be able to see it in the Comments section. Note that the images your users upload will be saved in your media library area, therefore, if you want to access and deal with these images, just go to Media > Library.

Use the Comment Attachments Plugin

Another plugin you can make use of is Comment Attachments which allows attaching files with comments. With this powerful plugin, various file options are supported, including images, documents, archives, audio and video.

Likewise, the first thing is to have the plugin installed and activated. Then go to Settings > Discussion.

Visit Settings Discussion

On the Discussion Settings page, find the Comment Attachment section. As you can see from the screenshot below, compared with the previous plugin we mentioned, this plugin has more options.

You can customize where to display the attachment field, the text of the attachment button, maximum file size, and decide whether or not to require attachment and more.

Comment Attachments Settings

Scroll down and you’ll find there are a number of file types you can allow users to upload. Just check the boxes for which types of files are allowed to add in comment form.

Allowed File Types in Comments

Once done, click the “Save Changes” button to store these settings. Now go to your posts and you will see the image uploads are allowed in the comment form.

Comment Form Image Uploads

On the Bottom

Using either of the two plugins, you are able to allow image uploads in WordPress comments. As for which one to choose, it depends. If you just require images, choose Comment Images. However, if you want to enable more file types and customize some settings, then go for Comment Attachment.

Author

Lucy has been a very experienced SEOer, technical writer, web developer, c# developer since 2002. Now she owns a startup in San Francisco, CA, focusing on running a couple of blogs to share knowledge and experience with global readers and deliver exceptional results to global sponsors by leveraging the power of Internet.

Close

Want to Learn More About WordPress?

Get Our Free Themes, Plugins, Support, SEO Tips, and Other Tutorials!

Email *