I have a comment form and any one can add comments without creating an account. Now client asking to allow user to upload profile picture from the comment form. Check attached image below.

enter image description here

Any help would be greatly appreciated.

1 Answer 1


Wordpress doesn't have built-in profile pictures (Avatars) by default. See Settings > Discussion in the menu for available options.

So you may have a few options:

  1. Use Gravatar, as this is bundled in Wordpress by default and free but would not require a profile image upload button as its managed separately.
  2. Look for an Avatar plugin that allows for programatically creating an upload button in your Comments template, or one that pre-packs that functionality. There are several Avatar plugins around but I can't be sure that they have the Comment form functionality you are looking for.
  3. Use ACF to extend the user profile with an image, and then ACF form to allow uploads via the Comments template.

For what its worth - I think allowing members of the public to upload their own images to your website like that is a generally bad idea. I suspect Wordpress agree, which is why they include Gravatar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.