bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Allow Images (0.9)

Download

Version: 0.9

Other Versions

Last Updated: 2009-10-24

Requires bbPress Version: 0.8.4 or higher

Compatible up to: 1.0.2

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(44)

Your Rating

Authors mdawaffe, qayqay12

Tags: ,

  1. Tomcraft1980: Are you sure you have the latest version of Allow Images installed?

    Posted: 1 month ago #
  2. Tomcraft1980

    Member

    Well, the latest release version 0.9. Can you give me a link to a newer version?

    Kind regards

    Tom

    Posted: 1 month ago #
  3. The solution to FAQ2 should be #thread .post img {max-width:450px;} :-)

    Posted: 1 month ago #
  4. great plugin!
    Does something like this also excist for movies?

    Posted: 1 month ago #
  5. Works like a charm on 1.0.2 :)

    What would also be great is the ability to allow the html5 <video> tag. I tried something like this -

    function allow_video_allowed_tags( $tags ) {
    $tags['video'] = array('src' => array(), 'title' => array(), 'alt' => array());
    return $tags;
    }
    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags', 'allow_video_allowed_tags' );

    but it did not work... sigh :)

    Posted: 4 weeks ago #
  6. jjwinter-

    your html5 video edit should work but you need to make sure the tag attributes are supported.

    on the second line of the code you mentioned, where it says array - the 'src', 'title' and 'alt' refer to the allowed attributes for the img tag.
    For the video tag, you need to change it to support the relevant video attributes, something like :

    $tags['video'] = array('src' => array(), 'controls' => array(), 'height' => array(), 'width' => array());

    etc, etc. I haven't tested it but for more info on what you would need to use, check here: http://www.w3schools.com/html5/tag_video.asp

    Posted: 3 weeks ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.