add query for image