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

How do i embed images in posts?

** I tried HTMLPurifier and it is not displaying images

it is displayed as **img src="dfdf" />

** And i tried to disable HTMLPurifer, i am unable to disable it

** When i click the image icon (in this forum) a pop up is coming. In my fourm, why is it not coming?

Comments

  • Options

    HTMLPurifier is redundant, you can remove form you plugins. By default htmlLawed is used.

    You can insert image like so

    <img src="image.jpg" alt="image" />

    You can set the formatter with

    $Configuration['Garden']['InputFormatter'] = 'Html'; //Markdown. BBCode, etc

    in conf/config.php

    grep is your friend.

  • Options

    Not working.

  • Options

    It does work, if you have the correct formatter.

    grep is your friend.

  • Options
    agrizagriz New
    edited July 2013

    I added your code

    $Configuration['Garden']['Format']['Hashtags'] = FALSE;
    $Configuration['Garden']['EditContentTimeout'] = '-1';
    $Configuration['Garden']['Html']['SafeStyles'] = FALSE;

    //here i added your code.

    $Configuration['Garden']['InputFormatter'] = 'Html'; //Markdown. BBCode, etc

  • Options

    note this will only be applied on new posts.

    grep is your friend.

  • Options

    To make it work for old posts you need to change the value in the format column to Html in the discussions and comments

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    It works only for the comments. Not for the posts.

  • Options
    peregrineperegrine MVP
    edited July 2013

    @agriz said:
    It works only for the comments. Not for the posts.

    what works? Too cryptic an answer to even begin to fathom what the issues are, and what you did.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.