How to show only 2nd featured img on home/blog

Edit: This need to be placed into your template.

if( class_exists('Dynamic_Featured_Image') ) {
//if you only want to show 2nd featured image you can do
    if (isset($featured_images[1])) {
        $image = $featured_images[1];
        echo "<a href="https://wordpress.stackexchange.com/questions/208168/{$image["full']}'>";
            echo "<img src="https://wordpress.stackexchange.com/questions/208168/{$image["thumb']}' alt="Dynamic Featured Image" />";
        echo "</a>";
    }
 }

error code: 523