http://freelinkz.info this is my wordpress .

example:


if i use

[URL =http://img133.imagevenue.com/img.php?image=16154_012_1308313766_122_458lo.jpg][IMG ]http://img133.imagevenue.com/loc458/th_16154_012_1308313766_122_458lo.jpg[/IMG][/URL]

code it do not display the image on thumbnail in main page .but if i just pput this it displays


there are bb code for [img] and [url] in bbcodes plugin

add_shortcode( 'url' , array(&$this, 'shortcode_url') );
add_shortcode( 'img' , array(&$this, 'shortcode_image') );


which are defined as

// Italics shortcode
function shortcode_url( $atts = array(), $content = NULL ) {
$atts = $this->attributefix( $atts );

// Google
if ( isset($atts[0]) ) {
$url = $atts[0];
$text = $content;
}
// http://www.google.com/
else {
$url = $text = $content;
}

if ( empty($url) ) return '';
if ( empty($text) ) $text = $url;

return '<a href="' . $url . '">' . do_shortcode( $text ) . '</a>';
}

and

// Italics shortcode
function shortcode_image( $atts = array(), $content = NULL ) {
if ( NULL === $content ) return '';

return '<img src="' . $content . '" alt="" />';
}


if these to functions some how joined then [url][img][/img][url] bb code will work.

so can someone help me to join these 2 functions.


regards



Edited: And when i put a full size html code image like lulzimg it do not display thumbnail on homepage
sumitims Reviewed by sumitims on . help with wordpress bb coding http://freelinkz.info this is my wordpress . example: if i use http://img198.imagevenue.com/loc413/th_16146_12_122_863lo.jpg http://img133.imagevenue.com/loc458/th_16154_012_1308313766_122_458lo.jpg code it do not display the image on thumbnail in main page .but if i just pput this http://img198.imagevenue.com/loc413/th_16146_12_122_866lo.jpg it displays Rating: 5