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:
Then the thumbnail gets displayed correctly, if I use:
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.