ECMS-4332 Content Explorer- Thumbnail View: gen css class dynamically