如何使用Google自定义搜索来获取大图像?

时间:2014-06-12 03:48:12

标签: javascript google-custom-search google-search-api google-image-search

这就是我现在所得到的,但我仍然得到小图片:

var customSearchImage;
google.load('search', '1');
google.setOnLoadCallback(function () {
    var customSearchOptions = {
        enableImageSearch: true,
        disableWebSearch: true,
        imageSearchResultSetSize: "large"
    };
    customSearchImage = new google.search.CustomSearchControl('googleID', customSearchOptions);
    customSearchImage.draw('searchimage'); // set the results div id
}, true);

如何从Google搜索中获取大型图片(即400x400)?

0 个答案:

没有答案