Check images by extension