Convert existing single post thumbnail code to use new structure