Generate thumbnails using an interval