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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.