Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
What is the Default Image Extension
When you want to embed images, what is the coding you type to get the images to show up?
Is it [img] [/img] ??
0
Comments
@BrandonP
< img src=" link to image " >
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Depends on which formatting you use for your forums:
HTML
<img src="foo.png">
BBCode
[img]foo.png[/img]
Markdown

You can change the format in your configuration file (
config.php
) by adding this variable:Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
ahh Okay. is there any way that i can change it to the BBcode format ?
OK , well I added the code to config:
$Configuration['Garden']['InputFormatter'] = 'BBCode';
and tried to add an image:
[IMG]image.jpg[/IMG]
And it didn't show up correctly??
It only works for new discussions I'm afraid.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Oh okay. I figured that out .. lol . Sorry, stupid moment there.
I have another question. I am using the tapatalk application, and it requires that in order to show embedded videos, you need to use the BB code [VIDEO] [/VIDEO] . Is there any way that I can modify some coding so that it will make it so the BB Code is the standard embedding method for videos as well? Or is that too involved ? Thanks!