Is it possible to retreive the current post (inside the loop) featured image ID?
The reason why I want this is so I can do something like this...
<?php
$featuredID = //get the featured image id
echo do_shortcode('[gallery size="thumbnail" link="file" exclude="' . $featuredID . '"]');
?>
Any help would be great thanks!