optimize image query (use mapping).