More dodgy hacks to add a thumbnail option to get_picture