Check media type for icon in the assets directory