Google Custom Search imgSize and imgType not taken into account

一曲冷凌霜 提交于 2019-12-21 17:42:06

问题


https://www.googleapis.com/customsearch/v1?key=XXXXX&imgType=photo&imgSize=small&q=%EF%BB%BFShrimp%2C%20Bacon.%20Avocado%20Pasta%20Salad%0D&cx=XXXXXX

When I do a custom search, it returns images and a formatted JSON as expected. The only thing that is not expected and that is not taken into account are the parameters:

imgType=photo imgSize=small

It makes no difference for google, and I am still receiving Clipart images and very large images (in some cases larger than 2500 px).

Any ideas?

(PS: I know I could use the cse_thumbnail which are smaller, but they are way too small).

Thanks :)

来源:https://stackoverflow.com/questions/31167614/google-custom-search-imgsize-and-imgtype-not-taken-into-account

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!