Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. danBB
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 10
    • Best 0
    • Groups 0

    Posts made by danBB

    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @baris Perfect! Thanks for your help!

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @baris What about the original issue about the path that was stored in redis? its including localhost in the beginning of the path regardless of the image type

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      I think its a bug. Its still actually a gif when i look at it in the uploads folder, but the file path string stored in redis says its a png

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @baris no its unchecked, and its only with gifs.

      I also wasnt clear I ment that it uploads it to the directory as a gif but labels it as a png in the path string in redis

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @baris Also when I upload a gif it stores it as a png

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      Thanks guys, manually editing the path in redis fix the image display problem. Temporary fix for now

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @bentael k, Whats the easiest way to get into my redis database and manually change the data?

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @bentael yeah happens for both places.

      Also happens when I upload the website logo.

      Any ideas?

      posted in NodeBB Development
      danBB
      danBB
    • RE: uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      @bentael yes, I know the image is stored in the file system. What I'm talking about is the file path that is stored in redis.

      For example, if the the admin uploads a new catagory image, it will upload the actual file to the file system and a path to that file in to redis. The path string stored in redis includes the loaclhost ip. I just need "/uploads/picture.png" stored as the path so my pages can load the image correctly

      posted in NodeBB Development
      danBB
      danBB
    • uploads/picture.png stored in redis when uploaded, need uploads/picture.png instead

      Hello,
      When I upload a catagory picture as an admin, it stores the path on redis to the image like such "http://127.0.0.1:4567/uploads/picture.png"

      I need the stored path to only be "/uploads/picture.png" to work properly. Where is that code located that uploads the image path to redis? Thanks

      posted in NodeBB Development
      danBB
      danBB