Importing thumbnails (partial fix for #369)