how to make uploaded image display in post
- Edited
SABERYJS php flarum clear:cache ?
I suppose you actually ran the correct command, but you wrote it flipped above. It's actually php flarum cache:clear
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] In this case, it's not very friendly to visitors and they can't understand it.Is there a better way?clarkwinkelmann
[deleted]
- Edited
samtto It should work without issue. Do you have FoF/Formatting and the Markdown extensions installed and active ?
Also, see https://discuss.flarum.org/d/20226-how-to-make-uploaded-image-display-in-post/5
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:
- enable FoF Upload: configure mime type
^image\/.*
withlocal
upload and theJust URL
adapter mapping - 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.