Categories
WordPress

Comment Image Plugin Help: Ask Here Your Questions

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”

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…

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!

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!

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?

Пожалуйста, добавьте строку 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,

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, 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

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 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!

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.

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 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!

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

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.

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!

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

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.

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

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.

Leave a Reply