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.
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
Comment #1
heine commentedUpdated from what? Did you run update.php?
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?
Comment #2
yngens commenteddoes not show inline as images. settings are fine.
Comment #3
heine commentedI can't reproduce.
"won't fix", unless you take my time seriously.
Comment #4
heine commentedBTW; This may be related to your issue with user_badges. Check that the table comment_upload_files exists.
Comment #5
yngens commentedHeine, 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.
Comment #6
heine commentedNote the following question in #1:
Updated from what? Did you run update.php?
Comment #7
yngens commentedCurrently 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.
Comment #8
heine commentedPlease edit the relevant comment and check whether the file is set to be listed.
Comment #9
yngens commentedHeine, 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.
Comment #10
heine commentedThen 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.
Comment #11
yngens commentedThis is interesting. I didn't know. Thank you for explanation. Strange thing is that currently uploaded pictures show inline even without checking anything.
Comment #12
heine commentedThis behaviour was introduced with #113253 - Don't show image inline when list is unchecked.