adapted itemprovider to identify 4 different img content types used by grid