HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

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] ??

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited March 2013
  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff
    edited March 2013

    Depends on which formatting you use for your forums:

    HTML <img src="foo.png">

    BBCode [img]foo.png[/img]

    Markdown ![](foo.png)

    You can change the format in your configuration file (config.php) by adding this variable:

    $Configuration['Garden']['InputFormatter'] = 'Markdown';
    

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

    vrijvlinder422BrandonPUnderDog
  • 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??

  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    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

    UnderDog
  • 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!

Sign In or Register to comment.