equal
deleted
inserted
replaced
219 'alt' => '', |
219 'alt' => '', |
220 'width' => '', |
220 'width' => '', |
221 'height' => '' |
221 'height' => '' |
222 ), $atts ) ); |
222 ), $atts ) ); |
223 |
223 |
224 return '<img src="'.get_bloginfo('template_url').'/scripts/timthumb.php?src='.$src.'&h='.$height.'&w='.$width.'&zc=1" alt="'.$alt.'" title="" />'; |
224 return '<img src="'.get_bloginfo('template_url').'/scripts/timthumb.php?src='.get_image_path($src).'&h='.$height.'&w='.$width.'&zc=1" alt="'.$alt.'" title="" />'; |
225 |
225 |
226 } |
226 } |
227 |
227 |
228 add_shortcode('custom_image', 'custom_image'); |
228 add_shortcode('custom_image', 'custom_image'); |
229 |
229 |