bugfix: only making thumbs for images