![]() |
Does anyone know how to
display google image search results on a website? Let's say I have a topic "Bulldogs" and after a description of bulldogs, i want to list the first 10 images from google for Bulldog and the images embed directly showing the pics on my site, then the user can click on those images and it will take them to the destination url of the image.
So essentially, my website would directly show the first 10 images from here: https://www.google.ca/search?hl=en&s...PYe6iwLowoGQCQ Hope I am making sense :winkwink: |
Googles prefreed method would be https://developers.google.com/custom-search/v1/overview
Quote:
Or you might be able to iframe the search query but then you won't see the clicks, etc. . |
Thanks sarettah :) I tried using google's api but it was not that good and the 100 query limit is going to be an issue. Maybe an iframe might do the trick. Any ideas on how to do it?
|
You don't seem as elite as your name suggests...
|
LOL yeah not feeling too Elite these days.
|
Quote:
. |
I was thinking of something like this below but limiting the variable to 10 results.
<?php // Get URL variable "u" $url = $_GET['u']; // Now you have some choices to make // whether or not to include "http://" with the URL or not // "http://" is not included, so add it on ... $url = "http://".$url; // Now display your <iframe> ... echo" <iframe src='$url'" style="border:1px 348 solid;" name="iframe_name" scrolling="yes" frameborder="0" align="center" height="px" width="200px"> </iframe> "; ?> |
Scraping them isn't hard, but I highly suggest against embedding the images as that's hotlinking and is found upon. Now saving them to your own server is doable though.
|
Scraping would be my first choice. Any chance you could whip up a quick script that can do it :D. You did a great job with that advance GFY Ignore feature ;)
|
If you are looking to invest a few bucks, icq: 33375924 or woj at wojfun dot com, we can work out some solution for this...
|
Quote:
Did you graduated high school? |
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Woj has done work for me, including a scraper. He's my #1 choice when I need work done.
|
All times are GMT -7. The time now is 06:21 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123