script for creating the journal's thumbnails