Add support for custom thumbnails