Im trying tu use image google image-search from https://developers.g...mage-search/v1/
But the code dont works.
You can see in my test page: www.netbooks.pt/teste.php
the image dont apears
Before I was using this code, but since a week that will not work:
$jsonurl = "https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=".$row_rsProdutos['referencia']; $result = json_decode(file_get_contents($jsonurl), true); echo "<img height=\"200\" src='{$result['responseData']['results'][0]['tbUrl']}' />"; echo $row_rsProdutos['referencia']; echo "<br/>"; $mensagem=' *A imagem pode não corresponder ao produto.'; echo $mensagem;
someone can give me a hand?