Finally, that old plugin (last-viewed-posts) works perfectly as long as you delete inside the single plugin’s file the add_action('wp_head','zg_lwp_header'); at the end and put the content of that function in header.php before the <html> tag!
In more simple words,
I know the image url (on the server),
I know the post ID,
how can I make it the featured image?