Skip to content
WJunction - Webmaster Forum

Need help Autopost thumbnail plugin for bbcode

Status
Not open for further replies.
Please help :wave:

This is the code of autopost thumbnail that automatically generate thumbnail from <img scr=""> tag.
Code:
// Get all images from post's body
    preg_match_all('/<\s*img [^\>]*src\s*=\s*[\""\']?([^\""\'>]*)/i', $post[0]->post_content, $matches);

since I'm going to use bbcode for my wordpress site(using bbpress bbcode), how can I automatically make a thumbnail from
tag?

TIA [wjlove]
 

2 comments

Status
Not open for further replies.

About the author

kaizer01
Senior Member · Joined
N.E.E.T. Gaming, Blogging, Girls
1,131
Messages
172
Reactions
63
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom