Skip to content
  • 1 Votes
    1 Posts
    54 Views
    Gliding9426G

    On PC I paste images in the textbox but on mobile, specifically on Android, you can't copy images in the clipboard, so how to post images? Must tell the users to host images in a 3rd party site like imgur and add it manually via markdown?

    Edit: sorry just found it, the upload button is the last button of the toolbar

    I was able to upload images by pressing that button

  • Image Upload as Topic

    Unsolved Technical Support
    13
    0 Votes
    13 Posts
    1k Views
    PitaJP

    You can avoid the upload step by copying the images directly to nodebb/public/uploads/migrated and then embedding them like

    ![image](/assets/uploads/migrated/image.jpg)
  • image upload issues

    Technical Support
    26
    0 Votes
    26 Posts
    4k Views
    A

    So finally the error is gone.

    I added this environment variable to my Openshift proyect:
    LD_PRELOAD = '/opt/app/node_modules/sharp/vendor/lib/libz.so'

    This is the url to sharp inside my node_modules.

    When I opened the terminal I get and error saying that it can't be preloaded but after installing all dependencies the error is gone, and I could upload images!!!

    Thank you very much @PitaJ !!!!

  • 0 Votes
    11 Posts
    2k Views
    ramon lopezR

    @baris thank you 🙂

  • 0 Votes
    5 Posts
    2k Views
    baddingB

    It seems that there is still the possibility to upload a profile cover picture, even though I disable "upload images" in privileges for registered users.

  • 0 Votes
    10 Posts
    4k Views
    sebastian-marinescuS

    So, I just tested leaving the allowed filetypes-field blank (ergo allowing everything) and that worked. The mov-file gets uploaded flawlessly.

    But interestingly the response is:

    name: "sample.mov" path: "/opt/bitnami/apache2/htdocs/public/uploads/files/1496310135527-sample.qt" url: "/assets/uploads/files/1496310135527-sample.qt"

    Adding just the mov extension to the allowed file-extensions blocks it again.

    Now the response suggests to me somehow, that nodebb is converting the uploaded file to a .qt-file.

    So I just added the qt-extension to the allowed files and it works.

    It's really weird behavior, but I found a solution. Thanks for participating everyone!

  • 0 Votes
    3 Posts
    2k Views
    M

    I was crating bug to GitHub, but thought that this could be know issue, after upgrade, so thats why added this question first... I did se you managed to do it fist, so I added information to there. I use tags, both 1.4.5 and 1.4.6 has this issue.

    Link Preview Image Upload cover picture does not work when using subfolder · Issue #5631 · NodeBB/NodeBB

    Uploaded cover picture path does not contain the relative_path.

    favicon

    GitHub (github.com)

  • 0 Votes
    3 Posts
    2k Views
    julianJ

    @BDHarrington7 Correct. At current, we do not associate uploaded files with a particular user, although there should be plugin hooks in place that will allow third-party plugins to maintain this association (for expiry purposes, etc).

  • 0 Votes
    3 Posts
    2k Views
    barisB

    @psychobunny fixed this on latest master https://github.com/NodeBB/NodeBB/commit/fbeb6bc0ced9d1e0bc8a5433d3c3bdd9b9eed1eb

  • 0 Votes
    5 Posts
    3k Views
    M

    Jonny
    Don't ever apologies for providing advice, that after all is why we are all here 👍 and the great thing about advice is that the user can choose what to do with it. In this case I shall be applying it to the letter.

    D

  • 0 Votes
    10 Posts
    6k Views
    HägarH

    @baris said:

    gh#3187

    Great. 👍

  • 0 Votes
    1 Posts
    1k Views
    N

    I will need upload functional in future plugin.
    Is there any Upload API already in NodeBB ready for plugins use?
    I would like to use ready to use solution, if any, before I will do it myself 😉

  • 0 Votes
    4 Posts
    2k Views
    HägarH

    @baris said:

    This is fixed on master.

    It seems to be back again.

  • group header-pictures

    Bug Reports
    1
    1 Votes
    1 Posts
    2k Views
    frissdiegurkeF

    I just tested to create a new group and following two issues occured

    bug: using svg-images for header works fine until "save" gets pressed. save responds with "error". feature-request: I'd like to set the background-size to contain and center the position.
  • 1 Votes
    1 Posts
    2k Views
    wladistonW

    Sup guys?

    I did a plugin for who wants to keep files on AWS S3. It's good for who keeps the NodeBB on Heroku or others servers that have ephemeral filesystem.
    I wanted to maintain compatibility with NodeBB 0.6.x and nodebb-plugin-s3-uploads doesnt worked for me.

    I will need to increase some features like content access control in the next version.

    Link Preview Image Build software better, together

    GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

    favicon

    GitHub (github.com)

  • Avatar upload

    Bug Reports
    8
    0 Votes
    8 Posts
    4k Views
    julianJ

    @Sander-Struijk This is resolved for v0.6.1

    gh#2496

  • Upload Image minor bug

    Bug Reports
    1
    0 Votes
    1 Posts
    1k Views
    L

    If there is a . (dot) on the file name, it doesnt display the image on the post ( it cold parse and remove the dots 🙂 )

    ![Captura de Tela 2014-11-11 às 17.32.40.png](uploading 100%)

  • 0 Votes
    5 Posts
    3k Views
    P

    @julian Good job! Thanks!!

  • 0 Votes
    30 Posts
    13k Views
    Peter-Zoltan KeresztesP

    @julian

    I am running the nodebb on development mode. when I upload a picture, No matter what type I get the following error after the upload count get's to 100% even if I have stopped all other apps.

    Screen Shot 2014-08-27 at 8.35.29 PM.png

    and in the console just this:

    warn: Route requested but not found: /api/post/upload
  • 0 Votes
    11 Posts
    6k Views
    D

    I've managed to reproduce the issue on Win2k8R2. It's coming from ImageMagick not being installed/configured correctly.

    reproduced.png

    These are the steps I took to fix the issue:

    Go out and install the latest version of ImageMagick

    After running the installer make sure that you close the command prompt from which you are running NodeBB.

    Open a new command prompt and rerun node app.js

    The problem should be fixed! 🙂resolved.png