Added thumbnail class for images