I need to duplicate a list of thumbnails elsewhere on a page and have set up a few different custom thumbnail sizes in my functions.php file.
If I use:
the_post_thumbnail('photo-small');
Then the thumbnail gets displayed correctly, if I use:
echo get_post_thumbnail('photo-small');
Nothing gets echoed - it's an empty string.
What I am trying to do is add the generated img tags to an array so that I can loop through it outside of the loop but for some reason it's always blank.