Add thumbnail attribute