• Support
  • how to make uploaded image display in post

SABERYJS yes or use the admin dashboard.

Sometimes that wont' suffice, in that case delete the textformatter cache directory:

rm -rf storage/cache/textformatter/*

    luceos another question,how to modify authorization according to our business,where add my code

      SABERYJS Hah,it worked,thank you so much !!!

      Did simply flushing cache work or only after the last step?

      SABERYJS what authorization? Can you clarify?

        luceos current system authorization logic is changed,becsuse when user submit username and pwd,system will send them to third system that is responsible for verifying,after that,they will send result back to current system,what can i do to achieve the target ?

        6 months later

        luceos Sometimes that wont' suffice, in that case delete the textformatter cache directory:

        i have a question. what can i do base on windows2012?
        php flarum cache:clear .use the admin dashboard i try both. not work.
        can't play image as below:
        https://t.tmtd.cn/d/8

          • [deleted]

          samtto Try removing [upl-image-preview url= and ] using the editor. Essentially, you just leave the actual URL with no brackets etc.

            [deleted] well, I didn't do anything., but now it's OK. . Ha ha! tks.

            5 years later

            So, this an old post, but I was exactly fighting with that problem on "how to make uploaded image display in post". While learning Flarum on a small forum with flarum.cloud (so great that this exists to get your hands on), I was testing FoF Upload, but no way to see the image uploaded, snif !

            So what I finally did to solve this:

            1. enable FoF Upload: configure mime type ^image\/.* with local upload and the Just URL adapter mapping
            2. enable FoF Formatting with the Autoimage plugin that converts plain-text image URLs into actual images

            As a consequence the Just URL adapter will write in the post the URL that is then converted into an actual image.

            Hope it helps.
            Olivier.