added thubnail class attr