I know this topic has been done to death with so many variations. But I have yet to find a simple answer.
I'd like to have a forum where users can upload pictures in both the forum posts and comments, and those pictures get displayed, not listed as an attachment that they have to click. I'd like to use:
-- Drupal's normal Forum module
-- Drupal's normal Upload module
-- Comment_upload module
I would NOT like to use:
-- A special input filter that requires some thinking on the part of the users (e.g. inline module)
-- A WYSIWYG editor
-- CCK + ImageField (because it has to work for comments too)
1) Can this be done by just configuring the Forum, Upload, and Content Type settings? If so, what settings must be used?
2) If it can't be done that way, can it be done with quick theme changes? If so, what would those be?
3) Are there one or two simple modules out there that will do it?
Comments
_
You should be able to do this simply by theming the attachments provided by the comment_upload module.
iirc, there's a preprocess function in comment_upload.module -- simply copy & paste it to your theme's template.php, rename it from template_process_... to yourthemename_preprocess..., and alter as desired to display the attached images with <img> tags instead of as a table.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
I'm trying to do this too but
I'm trying to do this too but I don't know what to change. I've set the permissions correct and enabled attachments to comments as well as displaying them as full images. But when i publish a comment the image is still an attachment and not view as a full image. I've also tried to use it with ImageCache but it didn't work. The readme says :
I've copied the file to my zen-theme folder but I don't know what to change.
Please help me :)
-
Changed theme from Zen to Acquia Marina and it works without problems.
Anyone knows how to make it work with the Zen theme and how to make it show images to first post like topics and blog posts and not simply to comments?
Edit: Got it to work with Zen. Only need tips on how to make the opening post able to show images!
I have installed this into my
I have installed this into my Drupal 6 setup, with advanced forum. Works fine in comments - images are displayed inline and resized according to my needs. How can I apply the same rules to new Forum Topics though? At the moment images uploaded as part of a new forum topic display as text links, but those in comments display inline (which is how I want them). I use one of the acquia themes.
_
topics are nodes-- how are you adding the images in the first place? If using a cck imagefield, you can change the way the picture is displayed on the 'display' tab of the forum topic content type.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.