add_filter('post_content', 'addBadge2Title');
function addBadge2Title(){
$seconds=strtotime("now")-strtotime(get_the_date("Y/m/d"));
$badge= get_stylesheet_directory_uri() . '/library/images/new_ribbon.gif';
if( $seconds < 10950400) {
echo '<img class="new_ribbon" width="75" height="75" src="'.$badge.'" >';
}
}
more elegant solution
relative path to image
on paged thumbnails list the path was broken