1

I am using google custom search API to show images, now I want to display both xxlarge, huge images in search results.

Custom search api link:

https://www.googleapis.com/customsearch/v1?key={your Key}&cx={Search Engine Id}&q=hello&searchType=image&alt=json&safe=high&filter=1&num=10&fileType=jpg& imgSize=huge&start=1

In the above link for image size currently I can get huge images, I want to include xxlarge images.

1
  • As of 2021, I'm not able to select multiple sizes of images or multiple colors in Google search. Commented Jan 18, 2021 at 11:11

1 Answer 1

0

I have the same issue, there doesn't seem to be a way of specifying multiple image sizes, or indeed or doing larger than a certain size, as you can do with google search tools (i.e. on google.com).

so what I am thinking of doing to work around this is calling 2 searches, and adding both results that I want to an array to combine them.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.