Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Can users add images to comments? WordPress


I have a wiki site that only logged in users will be able to access.

I would like to be able to allow logged in users to easily add images to their comments.

I have found a plugin which is good, but only allows the image URL to be added.
Is there a way to allow images to be uploaded via an image upload form?

All users will be logged in, no-one will be able to see the site without logging it, but I am trying to keep everything done on the front end of the site without the need of logging into the wordpress admin.

This is the plugin that is the closest so far:

Answers (6)


Kailey Lampert answers:

I've been using this to get not only an upload/insert button, but also some formatting buttons:

add_filter( 'comment_form_field_comment', 'cffc_test' );
function cffc_test( $field ) {
if (!is_single()) return $field; //only on single post pages.
global $post;
wp_editor( '', 'comment', array(
'tinymce' => false,
'textarea_rows' => 5,
'quicktags' => array(
'buttons' => 'em,strong,link,img,code',

) );
$editor = ob_get_contents();
//make sure comment media is attached to parent post
$editor = str_replace( 'post_id=0', 'post_id='.get_the_ID(), $editor );
return $editor;

If you don't want the extra buttons, you can just change the value of 'quicktags' from the array to <em>false</em>
Mine also loads only on is_single() because of the way some js is used on my site - this can likely be removed if needed.

Ross Gosling comments:

Thanks Kailey, this looks like a good way of doing it. Would you be able to implement this to my site if I was to supply FTP details?

Thank You

Kailey Lampert comments:

Sure, you can message me through the site or email me directly at [email protected]

Ross Gosling comments:

Thank You for completing the work Kailey :)


Daniel Yoen answers:


Try this plugin :

Hope this help,


Francisco Javier Carazo Gil answers:

I knew a plugin that allow what you want, but now this not exists: Easy Comment Uploads.

Now there is a premium plugin:


Rashad Aliyev answers:

I suggest you other free system. [[LINK href=""]] [[/LINK]]

Rashad Aliyev comments:

[[LINK href=""]]Screen Shoots here. [[/LINK]]


Jatin Soni answers:

Try this free plugin


Lawrence Krubner answers:

Interesting. I was working on something similar for the TMA blog, and had some written some code a little like what Kailey Lampert has done, but I like her implementation more.