added css class for images within a pill(list item)