Added image query by type