Provide file upload for forums

Created on 27 November 2017, almost 7 years ago
Updated 26 May 2024, 6 months ago

Problem/Motivation

The most annoying recurring problem for new users in the Drupal forums, is not being able to illustrate a problem by attaching an image to the forum post.

This can be especially frustrating for new users, if they spent quite some time creating an image or even an animated GIF to illustrate a process, only to fail in the task of including that image ...

This is a major issue for the forums, since new users regularly bump into this, and have a bad experience ...

The official workaround

How to add an image

Unfortunately, you may only embed an image in a forum post if the image is hosted on Drupal.org (and there is no trivial way to upload an image when editing a forum post). If you need to post a screenshot to illustrate your problem, don't try to embed the image in your forum post, instead upload the image to a third party website (e.g. Google drive, Dropbox) and then include a plain link to the externally hosted image in your post.

While links to external websites are generally deprecated, links to screenshots that illustrates the problem you seek support for, are OK.

From https://www.drupal.org/docs/administering-a-drupal-site/troubleshooting-...

Original issue text:
Compare to project issue queues forums are having ckeditor widget for submission which is a good thing, but since long time uploading image or file upload is not provided which make hard to use forum for describing the issue/problem.

I have created dummy issue #2459953: files placeholder for drupal.org forum posts long back for uploading images and later attaching it to forum post.

this issue is created on dcam's suggestion hoping some positive resolution.

Steps to reproduce

Try to add an image to a forum post and fail.

Proposed resolution

Allow uploading a file in a forum post, in these formats:

  • GIF
  • JPG
  • PNG

Remaining tasks

Allow registered user to upload an image file in Forum posts.

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India nithinkolekar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇷🇺Russia allexim

    Dear dru-pals,
    7 hours ago i had uploaded some images through/add/casestudy.

    When had posted a forum topic , all of them were visible.

    A little later some of images vanished.

    I invoke drupal pundits!!! woooooo

  • 🇩🇰Denmark ressa Copenhagen

    Time for the six-month bump :)

  • 🇩🇰Denmark ressa Copenhagen

    @allexim: I think you left them as drafts, like a work-a-round trick, if I understand you correctly.

    But we need a more robust solution, by enabling creating images directly in forums posts, as we can in issues.

  • 🇷🇺Russia allexim

    @ressa, why did you use the unborn metaphor?
    Has the time for changes come?

    Definitely, they were left as a draft for ever.
    Yep, the drupal is built to use many tricks.

    Why not just to talk with the administrators of the drupal.org website and ask them to allow remote src for images and to change the configuration of the text editor?

    And, @ressa, as you could have noticed, all rest images were also wiped out.

    I invoke again the admins of the Drupal and claim to enable support of the images' upload, pleeazzzzzz!!!

  • 🇩🇰Denmark ressa Copenhagen

    I didn't even see your post @allexim. It was just another bump post, which I do every half year, to check if images could at some point be possible to use in the forums.

    I hope it will be possible some day.

  • 🇷🇺Russia allexim

    i also do not get any notifications about updates specifically to this topic.

  • 🇷🇺Russia allexim

    Seems, the drupal system and its owners had become more distant to... everything, do they?

  • 🇩🇰Denmark ressa Copenhagen

    I do get notifications for all my issues, both email and on my tracking page, so everything works well for me.

    I actually think administrators such as @gisle does an amazing job in the forums, just as @drumm does a great job keeping drupal.org well functioning, and for example updated the drupal.org breadcrumbs shortly after I made the suggestion: 📌 Smaller breadcrumbs Active .

    There are a lot of issues, and only so many hours in a day.

  • 🇷🇺Russia allexim

    I do get notifications for all my issues, both email and on my tracking page, so everything works well for me.

    for some reason, i do not receive.

    Last time i have gotten it, was for: [Forum topic] View video files with Video JS, 2023-04-12.

    Checked one more time: all my notifications' settings are On.

    I actually think administrators such as @gisle does an amazing job in the forums, just as @drumm does a great job keeping drupal.org well functioning, and for example updated the drupal.org breadcrumbs shortly after I made the suggestion: #3347456: Smaller breadcrumbs.

    Fine, they are ready to adjust css a bit.

  • 🇳🇴Norway gisle Norway

    An update: When you now click "Add new Forum topic", there is actually a file upload button as part of the "Create Forum topic" form. I.e. you can upload a file when you create a new topic, and embed it your topic with the "image" widget in the editor. I don't know when this was added. I just noticed.

    As for Forum comments, there is an "image" widget, but still no file upload button.

  • 🇩🇰Denmark ressa Copenhagen

    I don't see that option, perhaps it's only for some roles?

    For example here: "Before you start" > click "Add new Forum topic" https://www.drupal.org/node/add/forum/20

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I see it, but I cannot say that happens because I am site moderator.

  • 🇩🇰Denmark ressa Copenhagen

    Thanks for checking @apaderno, here's what I see.

  • 🇳🇴Norway gisle Norway

    You're right. I can only see it when logged in as a Site Moderator. When I log in as a less privileges user, it is not there. Some permissions need tweaking.

  • 🇩🇰Denmark ressa Copenhagen

    The most annoying recurring problem in the Drupal forums is not being able to illustrate a problem with an image. This can be especially frustrating for new users, if they spent quite some time creating these images.

    Therefore, I would classify this as a major issue for the forums, since users regularly bump into this, and have a bad experience ...

    I am very curious: What are the arguments against allowing registered users to upload an image file?

    I have updated the Issue Summary, and hope this can be fixed soon. Thanks :)

  • 🇩🇰Denmark ressa Copenhagen
  • 🇩🇰Denmark ressa Copenhagen
  • 🇩🇰Denmark ressa Copenhagen
  • 🇷🇺Russia allexim

    @ressa, definitely, i support you, it must have been fixed

  • 🇬🇧United Kingdom jpcwebb

    As a new user and having just tried to raise an issue which needed an image to illustrate, I can fully concur this is a stupid limitation

  • 🇷🇺Russia allexim

    @jpcwebb, wow, it is perfect!
    you absolutely recognizably do make a british correct way to compose a sentence (=)^(=)
    ... amazing!

Production build 0.71.5 2024