VID-1818 Add link classes to image thumnbails