Insert post thumbnail before the_content() with filter
add_filter('the_content', 'kf__thumbnail_before_content');
function kf__thumbnail_before_content($content) {
global $post;
if (is_singular('post') && has_post_thumbnail()) {
$featuredimage = get_the_post_thumbnail($post->ID, 'full');
$content = '<div class="classname">' . $raiting . $featuredimage . '</div>' . $content;
}
return $content;
}