Added thumnbail class to images