title: Google custom search api returns 0 results when searchType is image
body: <p>I'm using Google Custom Search API to search for images. The search result is always 0 when I request for images. I'm following the documentation at the link below:</p>
  
  <p><a href="https://developers.google.com/custom-search/json-api/v1/reference/cse/list" rel="nofollow noreferrer">https://developers.google.com/custom-search/json-api/v1/reference/cse/list</a></p>
  
  <p>according to the docs, by specifying searchType=images, the api only looks for images. </p>
  
  <p>Here's what my url looks like:</p>
  
  <p><a href="https://www.googleapis.com/customsearch/v1?key=[API_Key]&amp;cx=017576662512468239146:omuauf_lfve&amp;searchType=image&amp;q=cars" rel="nofollow noreferrer">https://www.googleapis.com/customsearch/v1?key=[API_Key]&amp;cx=017576662512468239146:omuauf_lfve&amp;searchType=image&amp;q=cars</a></p>
  
  <p>and the result looks like below:</p>
  
  <pre><code>    {
   "kind": "customsearch#search",
   "url": {
    "type": "application/json",
    "template": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&amp;num={count?}&amp;start={startIndex?}&amp;lr={language?}&amp;safe={safe?}&amp;cx={cx?}&amp;cref={cref?}&amp;sort={sort?}&amp;filter={filter?}&amp;gl={gl?}&amp;cr={cr?}&amp;googlehost={googleHost?}&amp;c2coff={disableCnTwTranslation?}&amp;hq={hq?}&amp;hl={hl?}&amp;siteSearch={siteSearch?}&amp;siteSearchFilter={siteSearchFilter?}&amp;exactTerms={exactTerms?}&amp;excludeTerms={excludeTerms?}&amp;linkSite={linkSite?}&amp;orTerms={orTerms?}&amp;relatedSite={relatedSite?}&amp;dateRestrict={dateRestrict?}&amp;lowRange={lowRange?}&amp;highRange={highRange?}&amp;searchType={searchType}&amp;fileType={fileType?}&amp;rights={rights?}&amp;imgSize={imgSize?}&amp;imgType={imgType?}&amp;imgColorType={imgColorType?}&amp;imgDominantColor={imgDominantColor?}&amp;alt=json"
   },
   "queries": {
    "request": [
     {
      "title": "Google Custom Search - cars",
      "totalResults": "0",
      "searchTerms": "cars",
      "count": 10,
      "inputEncoding": "utf8",
      "outputEncoding": "utf8",
      "safe": "off",
      "cx": "017576662512468239146:omuauf_lfve",
      "searchType": "image"
     }
    ]
   },
   "searchInformation": {
    "searchTime": 0.049329,
    "formattedSearchTime": "0.05",
    "totalResults": "0",
    "formattedTotalResults": "0"
   }
  }
  </code></pre>
  
  <p>If I remove searchType from the request, I get results back in the form of web pages. What is wrong here?</p>