H
H
Hazrat Hajikerimov2014-09-22 19:15:39
Google
Hazrat Hajikerimov, 2014-09-22 19:15:39

Does the Google Ajax API Search Images have image filters?

Here is the code:

function google_search_images ($search){
    $json = file_get_contents('http://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=large&q='.urlencode($search).'&start=0');
    $data = json_decode($json);

    $img = array();
    if($data->responseData->cursor->estimatedResultCount > 0) {
        foreach ($data->responseData->results as $v){
            $img[] = $v->unescapedUrl;
        }
    }
}

Does the Google API know how to sort like here?
b703039b1b1f4fb1bdf778ed6aea0cad.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Skogorev, 2014-09-22
@hazratgs

try qsvga vga svga 40mp instead of large substitute

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question