generate thumbnails for figures at publication