Comment Image Plugin Help: Ask Here Your Questions

by Stefano on August 20, 2009
in Serious

Take a moment to subscribe my newsletter:

Need on Comment Image plugin? Here’s the right place:leave a comment describing your problem (and check other comments to see if there is already an answer for you).

Be sure to have read the Comment Image page, there are a number of tips letting you to understand better how it works and it’s limitations.

My excuses for my bad english but it's the only way I have to communicate with you. Would you suggest a correction? Leave a comment, thank you!

Comments

46 Responses to “Comment Image Plugin Help: Ask Here Your Questions”
  1. Jesus says:

    Hi Stefano,

    I have just installed your Comment Image pluggin and I like it, but I think there is one greatfull option that would make it better: add the posibility to choose in which posts you want to let the users to add comments. It could be just a checkbox on every new one (just like choose the categories or tags) to check if this post will permit to add images or just it won’t.

    Anyway, thanks for the pluggin.

  2. Stas says:

    Hello Stefano,

    Nice plagin, thanks a lot! Thumbnailing, auto-deleting of image when comment is deleting – great!
    I just have one problem – my commentators are too active with attaches, they produce 3 mb attaches per day – and it grows. It will be great to have ability to limit max size of attach and to limit the user by some number of attaches (for example, 3 attaches per day per user). I’m going to implement the last feature myself – storing corrent number of attaches and current date in cookies.

  3. Nick Soper says:

    Hi There,
    I was wondering how to display the image in your comments? If possible I would like to see if the image is available, and get the path to the image.

  4. It would be very nice if you could re-write the “Image field label” input (under comment-image/options.php) to accept HTML, so one would b able to wrap text with a span or div for styling and to write proper special characters like the German umlauts (ä as ä etc).

    Right now, when i write “Bild einfügen” (engl. Insert a photo) the umlaut ü is not encoded.

    Or (if this is possible without a big hassle) just mail me what I have to change in the plugin.

    And of cause a huge THANK YOU for your plugin! :)
    Manuel

  5. Joe Kumpe says:

    Hey Stefano,
    I just tried to upgrade to the most recent version released (1.0.2). Now when i try to upload a comment it says “Warning: Cannot modify header information – headers already sent by (output started at /home/content/k/k/o/kkohosting/html/jfo/wp-content/plugins/comment-image/plugin.php:360) in /home/content/k/k/o/kkohosting/html/jfo/wp-includes/pluggable.php on line 865″

    It also said that it couldn’t find comment-image-extras.php in the comment-image folder. I removed that action from the plugin.php so that is no longer a problem. I can’t find anywhere that the plugin.php is callin the headers so I can’t remove the error. I tried visiting the previous versions portion of your site to download the previous version of this since it was working then and it says the page doesn’t exist.

    So my question is one: do you know how to fix the above warning or two: do you have a place that I can download the previous version of your plugin i really like it and it’s the only one that can do what i want. Thank you very much for your work.

  6. Rhonda says:

    Hi, an update just came available for your plugin so I did the automatic upgrade. Everything appears great except that no image uploads when I tested it.
    You can try it on the site I’m building http://everything-south-padre-island.com

    Thanks,
    Rhonda

    • Stefano says:

      You use AJAX for comment submission: AJAX cannot upload files.

      • Rhonda says:

        Thank you for your prompt response. I’m not using Ajax comments. I was using the ImHuman captcha plugin. I uninstalled ImHuman and now your image uploader works. Nice. But now I gotta find another captcha.
        Thanks so much.

  7. Jordan says:

    Hey,

    I love this plugin so far, I had one question, what would be the process for adding an option for the person to upload Multiple images (e.g. let’s say I want to allow them to upload 3 images to a post.)

    Any ideas for how to do that, I’m fairly good in PHP and Javascript (but not really an expert).

    Thanks

  8. Hi Stefano,

    great plugin, it exactly does what i needed on my site. Thanks for that!!!

    I have one problem now: if I want to manual added the Image selection field I do not get a button to search for the fime on the computer.

    Is it possible to get this?

    • I solved the problem. The mistake was that i copied the tag:
      directly from your website. But then you get the wrong”"
      Instead of the tag of your website you need the following tag:

      Small difference, but with consequences.

      Now it is working and I am glad with it!

  9. Patung says:

    Wouldn’t this be a security risk? The other image uploader that I tried once allowed people to hack into the uploads directory.

  10. Patung says:

    No I didn’t find any security lack, I said I used ANOTHER image uploader plugin in the past, and the uploads folder got hacked. Not yours. I was just wondering about security, that’s all. Because to get your plugin to work I had to set the upload folder to 777.

    Btw, I added target=”new” to the a tag and alt=”" to the img tag, might be an idea.

  11. pzstm says:

    Is there a way to upload multiple files? Maybe in the next version you an add this option to the option page. Another request: maybe my users want to upload also png files…. you can add this option also to options menu in the next version maybe.
    Anyway I really appreciate for your work.

    Regards,
    Zsolt from Hungary

  12. jeff says:

    Thank you for the plugin.

    I don’t know what is wrong but the image is not showing.
    After upload, I found that the file is in the “comment image” directory.

    then I found that the link is the correct.
    the link now is http://www.example.com/wp-content/comment-image.
    But the right link should be http://www.example.com/abc/wp-content/comment-image.

    My blog is in a directory called abc.

    Please advise how to fix this problem.

  13. jj says:

    Dear Satollo,

    I installed the plugin. But I do not know what is wrong.

    You can check the link here.
    http://palacefashion.com.hk/test/2009/12/03/hello-world/comment-page-1/#comment-2

    If you see the comment, the image does not show properly.

    If you check the link of the image, it is not correct.
    The current link is http://palacefashion.com.hk/wp-content/comment-image/2-tn.jpg.

    But it should be http://palacefashion.com.hk/test/wp-content/comment-image/2-tn.jpg.

    Please help and advise what’s wrong.

    Thanks & best regards,
    Jeff

  14. Dan Pouliot says:

    Thanks for the great plugin! When I go to the settings, I get:

    Fatal error: Call to undefined function comment_image_extra_options() in /home/content/m/a/n/mansionadmin/html/guestbook/wp-content/plugins/comment-image/options.php on line 66

    any help is greatly appreciated!

  15. Wisenteta says:

    Don”t work plugin (((( site: http://moyazaya.ru/ Help!!!

    • Stefano says:

      Don’t work is not of much help to find a solution. The image field displays in your blog, where the error? (I have not tried to submit a photo)

  16. Wisenteta says:

    Sorry for the panic. The field is displayed, you can browse the local host and indicate the path to a picture. But after submitting the text commend is added, but there is no picture. Please, could you give any idea how to fix this issue. Thank you!

  17. kimyx says:

    Installed your plug-in this week and it wasn’t working. No uploaded images appeared on the server. After adding some debug logging I determined that my IE8 test browser was uploading files with mime type image/pjpeg.

    Then it was a simple matter of adding

    case ‘image/pjpeg’:

    wherever you already had image/pjpeg and it started working!

    Thanks for this nice plugin.

  18. Jens says:

    Hi Stefano,

    really really great plugin, I love it :)
    I thought I’ll have to give up the search for a comment image plugin until I found yours.

    But there is one thing that would be a great option:
    Defining the store path individually. Actually it is hardcoded to ../html/wp-content/comment-image but as others I also use one Wordpress installation for multiple blogs, so I have the need to define individual subfolders for each blog (like ../html/wp-content/comment-image/blog_1 etc.).

    Another goodie would be an option for Lightbox plugin (sets a rel=”lightbox” attribute to the link to the big size of each image).

    Yours

    Jens

  19. mystafa says:

    I have a problem with the site. Can you help

    Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 1213 is not allowed to access /home/polatli/domains/polatliforum.com/public_html/wp-content/comment-image owned by uid 1001 in /home/polatli/domains/polatliforum.com/public_html/wp-content/plugins/comment-image/plugin.php on line 84

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Unable to access /home/polatli/domains/polatliforum.com/public_html/wp-content/comment-image/28.jpg in /home/polatli/domains/polatliforum.com/public_html/wp-content/plugins/comment-image/plugin.php on line 203

    Warning: imagecreatefromjpeg(/home/polatli/domains/polatliforum.com/public_html/wp-content/comment-image/28.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/polatli/domains/polatliforum.com/public_html/wp-content/plugins/comment-image/plugin.php on line 203

    Warning: Cannot modify header information – headers already sent by (output started at /home/polatli/domains/polatliforum.com/public_html/wp-content/plugins/comment-image/plugin.php:84) in /home/polatli/domains/polatliforum.com/public_html/wp-includes/pluggable.php on line 868

    • Stefano says:

      Change the permissions of comment-image folder. That folder is create by comment image plugin on activation, but if it’s set read only or if it was owner changed, the plugin cannot store the images.

  20. Marlie7 says:

    I installed the plugin and uploaded a picture. The picture is in the comment-image folder and displays as I would expect it to in the admin view of the comment on the admin dashboard. But on the website user view of the comment, it does not display.

    Any thoughts on what might be going on?

    • Stefano says:

      The “code” that inject the picture on admin side id the same for the public side. May be your theme cleans up comment text in any way?

  21. jj says:

    Dear Stefano,

    I stalled the Comment Image plugin.

    I can successfully upload image on the comment.
    But when I click on the thumbnail image. I got the error message. The file is not accessible. I check the file attribute in the Comment-Image folder. The permission is 600, not 664.

    Please advise how to handle this.

    Thanks & best regards,
    JJ

  22. Tammy says:

    Hi Stefano,

    First: Great plugin!
    Second: but…. if somebody tries to upload an image which is smaller than the thumbnail width, it becomes enlarged to the thumbnail width. For example I left the thumbnail width 200 pixel and someone uploads a 40×40 pixel smiley, that smiley is shown as a 200×200 pixel image. Which look quite rough. I like to avoid this behavior. Do you have a solution for this?

    Many thanks!

  23. David says:

    Hi Stefano

    Many, many thanks for all your work in creating a great plugin – works a treat! I’d love to be able to view the full size images after clicking on the thumbnail in a thickbox rather than in a standard browser window. Is that possible?

    Thanks!

    David

    • Stefano says:

      Thick box and other frameworks like that are difficult to manage cause each theme can include something incompatible with them. Yes, I can try to add such features but it usually will conflict with other plugins or themes… so, I’ll try, no grants it’ll work

  24. Patung says:

    It doesn’t work for me if I have this plugin enabled – http://wordpress.org/extend/plugins/comment-form-quicktags/ It just won’t upload the image at all, and the display of the Upload Image button is a little different to normal.

    I’m bummed.

  25. Patung says:

    Hi Satollo, yes I understand, I actually got another quicktags plugin to work instead of the other one, so it’s ok now.

  26. firefly says:

    Hi.
    I installed your plugin and try to upload some images.
    There is no error message, everthing’s fine, but no uploaded images appeared on the server in the Comment-Image folder.
    The permission is 777.

    Don’t know where’s the problem.
    Thanks for help.

  27. Mark says:

    When a user tries to upload anything other than JPEG it gives them a very ugly error with some of my root folders exposed. Any chance of implementing some error handling so a prettier error message is produced telling them to only upload JPGS?

    here is what they currently see:

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/piphut/domains/snaffuo.com/public_html/wp-content/plugins/comment-image/plugin.php on line 213

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: ‘/home/piphut/domains/snaffuo.com/public_html/wp-content/comment-image/1341.jpg’ is not a valid JPEG file in /home/piphut/domains/snaffuo.com/public_html/wp-content/plugins/comment-image/plugin.php on line 213

    Thanks for all your hard work

Share Your Thoughts