Does anyone know how to

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EliteWebmaster
    Confirmed User
    • Feb 2010
    • 3994

    #1

    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
  • sarettah
    see you later, I'm gone
    • Oct 2002
    • 14330

    #2
    Googles prefreed method would be https://developers.google.com/custom-search/v1/overview

    Pricing

    Free quota

    Usage is free for all users, up to 100 queries per day.

    Paid Usage

    Any usage beyond the free usage quota will fail if you are not signed up for billing. Once you have enabled billing, you will continue to receive 100 free queries per day. However, you will be billed for all additional requests at the rate of $5 per 1000 queries, for up to 10,000 queries per day.
    Or you could scrape google images but they are pretty good at blocking.

    Or you might be able to iframe the search query but then you won't see the clicks, etc.



    .
    All cookies cleared!

    Comment

    • EliteWebmaster
      Confirmed User
      • Feb 2010
      • 3994

      #3
      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?

      Comment

      • DamianJ
        Too lazy to set a custom title
        • Jul 2006
        • 15808

        #4
        You don't seem as elite as your name suggests...

        Comment

        • EliteWebmaster
          Confirmed User
          • Feb 2010
          • 3994

          #5
          LOL yeah not feeling too Elite these days.

          Comment

          • sarettah
            see you later, I'm gone
            • Oct 2002
            • 14330

            #6
            Originally posted by EliteWebmaster
            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?
            Not sure how you would limit it to just the first 10 results other than to size the iframe to whatever size 10 results fit in and then shut off the scroll bars.

            .
            All cookies cleared!

            Comment

            • EliteWebmaster
              Confirmed User
              • Feb 2010
              • 3994

              #7
              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>
              ";

              ?>

              Comment

              • Killswitch
                REVOLUTIONARY
                • Oct 2012
                • 2576

                #8
                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.

                Comment

                • EliteWebmaster
                  Confirmed User
                  • Feb 2010
                  • 3994

                  #9
                  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 ;)

                  Comment

                  • woj
                    <&(©¿©)&>
                    • Jul 2002
                    • 47880

                    #10
                    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...
                    Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                    Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                    Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                    Comment

                    • DamianJ
                      Too lazy to set a custom title
                      • Jul 2006
                      • 15808

                      #11
                      Originally posted by Killswitch
                      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.
                      Frowned upon.

                      Did you graduated high school?

                      Comment

                      • Killswitch
                        REVOLUTIONARY
                        • Oct 2012
                        • 2576

                        #12
                        Originally posted by EliteWebmaster
                        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 ;)
                        Originally posted by woj
                        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...
                        I am busy, but I highly suggest woj here, as he's an excellent dude.

                        Originally posted by DamianJ
                        Frowned upon.

                        Did you graduated high school?

                        Comment

                        • EliteWebmaster
                          Confirmed User
                          • Feb 2010
                          • 3994

                          #13
                          Originally posted by Killswitch
                          I am busy, but I highly suggest woj here, as he's an excellent dude.
                          Sounds good I'll keep that in mind. I downloaded a google scraper and it's pretty decent. Only downside is that it only downloads 64 images even though it advertises that it can download up to 2000 images.

                          Comment

                          • EliteWebmaster
                            Confirmed User
                            • Feb 2010
                            • 3994

                            #14
                            Originally posted by woj
                            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...
                            Thanks wojfun, sounds good, I'll definitely keep you in mind. Can design something that can scrape info/images from backpage?

                            Comment

                            • woj
                              <&(©¿©)&>
                              • Jul 2002
                              • 47880

                              #15
                              Originally posted by EliteWebmaster
                              Thanks wojfun, sounds good, I'll definitely keep you in mind. Can design something that can scrape info/images from backpage?
                              don't see why not, icq me and we'll work out specifics...
                              Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                              Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                              Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                              Comment

                              • EliteWebmaster
                                Confirmed User
                                • Feb 2010
                                • 3994

                                #16
                                Originally posted by woj
                                don't see why not, icq me and we'll work out specifics...
                                Sounds good, I"ll hit you up tomorrow and we can discuss it

                                Comment

                                • junction
                                  Confirmed User
                                  • Dec 2002
                                  • 2411

                                  #17
                                  Woj has done work for me, including a scraper. He's my #1 choice when I need work done.

                                  Comment

                                  Working...