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.
75 replies on “Comment Image Plugin Help: Ask Here Your Questions”
sdfsdf
Why not a gif file animeted?
Why not *.gif files animeted?
I think the resize function of PHP does not create resized version of animated gif, but the original image should be animated.
:)
Hi,
my question is esasy to make but i am stuck on it for a couple days.
The plug upload the image perfectly but now i am trying to see the uploaded image whe i edti the comment in the admin area (where you can see listed all comments of the site). So when i click to edit a comment in the list, i received only the text (with anotrhe metaboxes)so is there any form to add o view the image of the comment? thanks in advanced
Hi I’m aware of this problem. with latest WordPress version the method I used to inject the images even on comment list does not work anymore.
I need to dig into that…
Is it still working
Hi, Thanks for such a great plugin, it’s working on wp 3.4.1 version.
I just have a quick question, i want to change the “choose file” button and “no file chosen” label to a different language, but i have searched anywhere with no luck, would you please kindly tell me where i can change it, i am using chrome. on IE, it shows “browse” button instead of “choose file” button. thanks!
It’s browser dependent.
Hi!
Thanks for the plug-in!
But how do i add it manually? Adding the code just gets me an blank field with no button.
thanks in advance
We have been using this plugin for a while and it has been great! However, recently, some of the images uploaded previously have been showing up in new comments…So for example, say I used a screenshot to upload back in December of 2011, that screenshot has been mysteriously showing up in new comments. This only happens from time to time. It seems very random. Any ideas as to why this may be happening? Thank You!
Hi Stefano,
I found the plugin working/displaying properly. But my readers can upload images but the images are not displayed. Only images uploaded by myself are displayed. Do you have anything idea of why?
The folder’s permission is 777 and readers’ images are in that folder (only not displayed on website)
Please see here:
http://www.ohsofashion.com/play-whats-in-your-bag/
passcode: 123
Thanks much for the great plugin!
I see images under other users comment, I’m wrong?
It seems there are images associated to no more existing comments (and never deleted) and “resused” with new comment using old IDs. Have you migrated the database?
I have migrated the site at one point, yes, after a re-design. Can you suggest how to fix the problem? I don’t really get it.
Hi!
Thanks for the plug-in!
But how do i add it manually? Adding the code just gets me an blank field with no button.
thanks in advance
Plugin still not working.
I just uploaded a picture. It does not display in the comment. And on the server in wp-content the comment-image folder remains empty.
Thanks – again, here is the site: http://canyonneighborhood.org/wp/uncategorized/trash-bins-in-our-midst#comment-31
Пожалуйста, добавьте строку rel=”thumbnail” в ссылку картинки, чтобы в итоге получился следующий код:
… . commentimage_find_original($id, $i) . ‘” rel=”thumbnail”><img src="' . …
I don't speak English, sorry.
Hello, everybody! I have a problem! I had this plugin for sometime, everything was perfect. Suddenly plugin stopped working. I download an image. But there is no image in comments. I would be thankful if you can help me.
Hi Stefano
Thanks for great plugin would you tell me how to change size of thumbnails to 580px? Configuring it through wordpress doesn’t work for me i dont know why… here is my blog:
Hi Stefano
Would comment image take a lot of modification to use with the new BBPress plugin?
Thanks
Dave
Hi Stefano,
I was wondering if there is any way to show the image in the media library folder?
This way the admin would be able to view all uploaded images in one spot.
Great plug-in.
Thanks,
Jake
Hi Stefano. Thanks very much for a great plugin!
I have recently upgraded to WP3 and set up for multisites. I have experienced the same problem as Ian and Patung: The comments gets “screwed up” between sites. Do you have any plans to look further at this issue?
Hi Stefano,
Just to know if it’s possible somehow to insert an image from an url and not from my computer.
Thanks
Giorgio
Hi Stefano, yes, what Ian said, is there any chance of getting this compatible with WP 3.0? I guess what needs to be done is a check on blog_id, and assigning unique names for the images by blog_id.
Hi Stefano,
Thank you for this plug-in – i am using it on WordPress 2.9.2 and it works great. I am now creating a new website using WordPress 3.0 with Multi sites enabled. I have tried to use your comment image plug-in again but i have found a problem & was wondering if you are making any amends to allow your plug-in to work with WordPress 3.0?
As your plugin uses the comment ID, across a multi site installation the images get over-written.
e.g.
Site 1 – first comment including img1.jpg
Site 2 – First comment including img2.jpg
When you look back at Site 1 the image is now using the same image from Site 2.
Hopefully this all makes sense & i look forward to your reply.
Ian
hi good one I like it
i use it to make it easy for user to upload image in a post not in comments and it upload the image but did not show it in post! is there a way to do that please?
in other word how can i make work for post too.
thanks
I would like to see if this works
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
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.
Hi Satollo, yes I understand, I actually got another quicktags plugin to work instead of the other one, so it’s ok now.
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.
I have no time to test incompatibilities on that period of year. I annotated the conflicting plugin thought.
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
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
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!
Yes you’re right, the plugin needs some improvements… ASAP when I’ll have enough time! :-)
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
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?
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?
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
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.
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
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.
Patched, thank you very much!
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!
Don”t work plugin (((( site: http://moyazaya.ru/ Help!!!
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)
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!
one of your latest updates seems to have fixed it. thanks!
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
Have you version 1.0.3? I fixed it some days ago.
Yes, I’m using version 1.0.3.
You can try to upload an image on my site.
I don’t know what’s going wrong. Please help!
Thanks.
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.
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
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.
Wouldn’t this be a security risk? The other image uploader that I tried once allowed people to hack into the uploads directory.
Please help me to understand where is the security lack you found!
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!
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:
input type=”file” name=”image4″/ this surroudend by
Small difference, but with consequences.
Now it is working and I am glad with it!
Uhm, still not clear so I will add an immage :-)
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
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
You use AJAX for comment submission: AJAX cannot upload files.
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.
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.
There is an error, I’ve released an update. Does that solve for you?
Yes that fixed it thank you very much :D
Not at all, thank you to send me the problem so quickly (before to be submerged of bug submission…) :-)
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
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.
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.
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.