adds codes to feature the thumbnail