bertowa Posted June 20, 2013 Share Posted June 20, 2013 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? Link to comment https://forums.phpfreaks.com/topic/279392-google-search/ Share on other sites More sharing options...
bertowa Posted June 20, 2013 Author Share Posted June 20, 2013 I only need the image from search Link to comment https://forums.phpfreaks.com/topic/279392-google-search/#findComment-1437068 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.