Tomcraft1980: Are you sure you have the latest version of Allow Images installed?
bbPress Plugin Browser »
Allow Images (0.9)
Download
Version: 0.9
Last Updated: 2009-10-24
Requires bbPress Version: 0.8.4 or higher
Compatible up to: 1.0.2
Average Rating





Your Rating
Authors mdawaffe, qayqay12
-
Posted: 1 month ago #
-
Well, the latest release version 0.9. Can you give me a link to a newer version?
Kind regards
Tom
Posted: 1 month ago # -
The solution to FAQ2 should be
#thread .post img {max-width:450px;}:-)Posted: 1 month ago # -
great plugin!
Does something like this also excist for movies?Posted: 1 month ago # -
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 # -
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 #
Add a Comment
You must log in to post.