I have just updated to 5.x-1.x-dev. It does not show attached images in comments. Before everything was fine - all the attached images would show up.

Comments

heine’s picture

I have just updated to 5.x-1.x-dev.

Updated from what? Did you run update.php?

It does not show attached images in comments

Does it not show them inline as an image, but as a filename in the attachment table instead or do images not display at all?

Are new image uploads showing up inline?

Please check on admin/settings/uploads what the comment upload settings are (Attachments on comments and Images on comments). What file system settings do you use? What PHP version?

yngens’s picture

does not show inline as images. settings are fine.

heine’s picture

Status: Active » Closed (won't fix)

I can't reproduce.

"won't fix", unless you take my time seriously.

heine’s picture

Category: bug » support

BTW; This may be related to your issue with user_badges. Check that the table comment_upload_files exists.

yngens’s picture

Heine, I don't think this issue related to MySQL, because I have just copied back file directory for the module of previous persion and everything showed up. So I will just stay with previous version for now.

heine’s picture

Note the following question in #1:

Updated from what? Did you run update.php?

yngens’s picture

Currently I switched back to the previous version I had. Module file says: // $Id: comment_upload.module,v 1.6.2.5 2007/01/17 16:34:29 heine Exp $

Info file says:

; $ID$
name = Comment upload
description = Allows users to attach files to comments.
dependencies = upload comment
version = "$Name: DRUPAL-5 $"

; Information added by drupal.org packaging script on 2007-01-25
version = "5.x-1.x-dev"
project = "comment_upload"

This one works, but later one does not.

heine’s picture

Please edit the relevant comment and check whether the file is set to be listed.

yngens’s picture

Heine, I really do not want to switch to test it, since the current version I have works perfectly. However, I can tell you for sure that the attached files were not checked as listed - current version displays them automatically even when they are not checked. And that is what I want actually. Otherwise, besides inline images I would also have links under the comments, which sometimes are necessary, but not always.

heine’s picture

Category: support » bug
Status: Closed (won't fix) » Closed (works as designed)

Then this is by design.

Comment upload only displays inline images that have been checked as listed. (When images are displayed inline, they won't show up in the attachment table). This allows one to attach images and incorporate them anywhere manually with <img> tags.

yngens’s picture

This is interesting. I didn't know. Thank you for explanation. Strange thing is that currently uploaded pictures show inline even without checking anything.

heine’s picture