Title: Plugin doesn&#8217;t attach the file
Last modified: December 10, 2019

---

# Plugin doesn’t attach the file

 *  Resolved [lenek](https://wordpress.org/support/users/lenek/)
 * (@lenek)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/)
 * Hello,
 * great plugin. But I have a problem. When I try to add for ex. jpg, file doesn’t
   attach to comment. Could you help me? Maybe there is my theme or other plugins
   conflict?
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-doesnt-attach-the-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Denis Yanchevskiy](https://wordpress.org/support/users/denisco/)
 * (@denisco)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12224514)
 * Hello [@lenek](https://wordpress.org/support/users/lenek/),
 * Please check if there is an attachment when [editing a comment](https://ps.w.org/dco-comment-attachment/assets/screenshot-4.png?rev=2081085)
   in the admin panel. Perhaps the conflict is with the output of the image on the
   site, but the file is attached.
 *  Thread Starter [lenek](https://wordpress.org/support/users/lenek/)
 * (@lenek)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12224676)
 * Thank you for answer.
    When I am editing a comment in the admin panel there is
   an attachment option. But there is no file. I can only add the file as an admin
   when I am editing a comment.
 * Any suggestion?
 *  Plugin Author [Denis Yanchevskiy](https://wordpress.org/support/users/denisco/)
 * (@denisco)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12224786)
 * I have not encountered such a problem, so I can only suggest to try to follow
   the steps from [the standard guide to troubleshooting](https://wordpress.org/support/article/managing-plugins/#advanced-troubleshooting),
   and specifically the last two:
    - Deactivate all your plugins to ensure they’re not causing the problem. Reactivate
      the problematic one. If it works, there may be a conflict. Activate the others
      one by one to see if the problem returns, which may indicate the conflicting
      plugin.
    - If you’re using a custom WordPress Theme, try using one of the default WordPress
      Themes to see if your issue is Theme related. If it is, contact the Theme 
      developer for assistance.
 * If you find the reason in an incompatible plugin, please send its name. I will
   try to figure out what is the cause of the problem.
 *  [Julian](https://wordpress.org/support/users/juliangk/)
 * (@juliangk)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12254451)
 * Hello Denis,
 * I am experiencing the same issue in a custom theme (which is quite old and was
   not created by me but I have to work with it).
 * Upon upload the image is not uploaded and the “Attachement” field remains empty
   in the comments section in the back end.
 * As soon as an attachment is added in the backend the image is displayed in the
   post, so it is just not being uploaded.
 * Which function is responsible for uploading and attaching the images to the post?
 * Thanks and best regards
    Julian
 *  Plugin Author [Denis Yanchevskiy](https://wordpress.org/support/users/denisco/)
 * (@denisco)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12278020)
 * Marking as resolved. Feel free to reopen this topic, or create a new one if you
   have another questions.
 *  Plugin Author [Denis Yanchevskiy](https://wordpress.org/support/users/denisco/)
 * (@denisco)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12278027)
 * Hello [@juliangk](https://wordpress.org/support/users/juliangk/),
 * Please create a separate topic for a separate question next time. This makes 
   navigation a lot easier. Thanks.
 * > Which function is responsible for uploading and attaching the images to the
   > post?
 * You can see the functions [check_attachment](https://github.com/yadenis/DCO-Comment-Attachment/blob/master/includes/class-dco-ca.php#L227)
   and [save_attachment](https://github.com/yadenis/DCO-Comment-Attachment/blob/master/includes/class-dco-ca.php#L324).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin doesn’t attach the file’ is closed to new replies.

 * ![](https://ps.w.org/dco-comment-attachment/assets/icon-256x256.png?rev=2082370)
 * [DCO Comment Attachment](https://wordpress.org/plugins/dco-comment-attachment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dco-comment-attachment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dco-comment-attachment/)
 * [Active Topics](https://wordpress.org/support/plugin/dco-comment-attachment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dco-comment-attachment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dco-comment-attachment/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Denis Yanchevskiy](https://wordpress.org/support/users/denisco/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-attach-the-file/#post-12278027)
 * Status: resolved