Image Search

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Image Search

    Hi. here is a Image search script powered by Google search API (Since I don't like making grabbers anymore :D)

    You can see a demo here : Image Search

    It's a zero config script, so you just need to take the pain of uploading it in your site

    Server Requirement: PHP with cURL & GD support (available in most free/paid hosts)

    http://code.google.com/p/image-search-engine/
    Attached Files
    Last edited by softwarefreak; 29.10.12, 13:55.
    I need some facebook likes, can you please help me
    http://facebook.com/softwarefreakin
    I noticed social media is really powerful
    Well DONE is better than well SAID

    #2
    Nice share Bro thanks for uploading..
    Is it legal?

    i mean it grab pics with api or grab directly

    Added after 2 minutes:

    ohhh i think it use google api as u mention in ur post?
    Last edited by irfiii; 28.10.12, 04:47.
    Free Web Hosting @HostersPoint.com
    php Hosting with Web Builder

    Buy - Sell ADs
    ADMOLA ADs Network
    Monetize Your Site Traffic

    Comment


      #3
      @irfiiiii, yup brother 200% legal

      You can see the raw json file here, If you open this url https://ajax.googleapis.com/ajax/ser...=1.0&q=flowers

      BTW, grabbing google image search won't let you show results for adult images, but with the API you can
      Last edited by softwarefreak; 28.10.12, 07:16.
      I need some facebook likes, can you please help me
      http://facebook.com/softwarefreakin
      I noticed social media is really powerful
      Well DONE is better than well SAID

      Comment


        #4
        Hello, brother....
        Its not work on hostgator... if the image clicked it shows 404 not found

        Comment


          #5
          Originally posted by cyberone View Post
          Hello, brother....
          Its not work on hostgator... if the image clicked it shows 404 not found
          Sorry, I left a bug in my localhost,

          change this line in resize.php

          PHP Code:
          $save_as 'images/' basename(urlencode($url)); 
          To

          PHP Code:
          $save_as 'images/' urlencode(basename($url)); 
          Last edited by softwarefreak; 28.10.12, 11:03.
          I need some facebook likes, can you please help me
          http://facebook.com/softwarefreakin
          I noticed social media is really powerful
          Well DONE is better than well SAID

          Comment


            #6
            thank you

            many thanks for sharing the script

            it is not working on hostgator but working properly on godaddy!!!

            on hostgator its sowing something like



            ------------------
            Forbidden

            You don't have permission to access /images/tweak.php on this server.

            Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
            ------------------
            Buying mobile traffic, PM me with your traffic details

            Comment


              #7
              @razib, chmod (change mode) the file to 777
              I need some facebook likes, can you please help me
              http://facebook.com/softwarefreakin
              I noticed social media is really powerful
              Well DONE is better than well SAID

              Comment


                #8
                each search only found 8 pages can not open the page to 9 look this http://musicoxplore.info/gs/index.ph...dium&type=&p=8

                please be fixed so that the search can be much more http://musicoxplore.info/gs/index.ph...dium&type=&p=8

                Comment


                  #9
                  Originally posted by getwapid View Post
                  each search only found 8 pages can not open the page to 9 look this http://musicoxplore.info/gs/index.ph...dium&type=&p=8

                  please be fixed so that the search can be much more http://musicoxplore.info/gs/index.ph...dium&type=&p=8
                  Look wat's written in GS.class.php

                  Code:
                  	/**
                  	 * Note: You should include the userip parameter,
                  	 * which supplies the IP address of the end-user who made the request
                  	 * and validates that you are not making automated requests in violation of the Terms of Service.
                  	 * https://developers.google.com/image-search/terms.html
                  	 */
                  	/**
                  	 * Note: The Image Searcher supports a maximum of 8 result pages.
                  	 * When combined with subsequent requests, a maximum total of 64 results are available.
                  	 * It is not possible to request more than 64 results.
                  	 */
                  I need some facebook likes, can you please help me
                  http://facebook.com/softwarefreakin
                  I noticed social media is really powerful
                  Well DONE is better than well SAID

                  Comment


                    #10
                    Originally posted by softwarefreak View Post
                    @razib, chmod (change mode) the file to 777
                    i have tried it, still not working
                    Buying mobile traffic, PM me with your traffic details

                    Comment


                      #11
                      Originally posted by razib View Post
                      i have tried it, still not working
                      Can you provide the url where you're having that problem
                      I need some facebook likes, can you please help me
                      http://facebook.com/softwarefreakin
                      I noticed social media is really powerful
                      Well DONE is better than well SAID

                      Comment


                        #12
                        Originally posted by softwarefreak View Post
                        Can you provide the url where you're having that problem
                        yeah its not work well on hostgator, because of some security issues on hostgator server. folder or file if chmod to 777 is result to 403 forbidden. Other issues is if your grabber having some query to another sites it will not work its like http;//yourdomain.com/image/tweak.php?url=http;//anotherdomain.com/file/image.gif it will get result 404 not found.

                        Comment


                          #13
                          Eroro Grab From Hostgator

                          Chek this error from hostgator

                          Comment


                            #14
                            Just make 2 changes for the hostgator problem

                            1. html.tpl.php line 4

                            From
                            PHP Code:
                            <?php printf('tweak.php?u=%s&h=%d&w=%d'urlencode($result['url']), $result['height'], $result['width']); ?>
                            To
                            PHP Code:
                            <?php printf('tweak.php?u=%s&h=%d&w=%d'base64_encode($result['url']), $result['height'], $result['width']); ?>
                            2. tweak.php line 4

                            From
                            PHP Code:
                            $url = ($_GET['u']); 
                            To
                            PHP Code:
                            $url base64_decode($_GET['u']); 
                            I need some facebook likes, can you please help me
                            http://facebook.com/softwarefreakin
                            I noticed social media is really powerful
                            Well DONE is better than well SAID

                            Comment


                              #15
                              yes its working perfectly now

                              Originally posted by softwarefreak View Post
                              Just make 2 changes for the hostgator problem

                              1. html.tpl.php line 4

                              From
                              PHP Code:
                              <?php printf('tweak.php?u=%s&h=%d&w=%d'urlencode($result['url']), $result['height'], $result['width']); ?>
                              To
                              PHP Code:
                              <?php printf('tweak.php?u=%s&h=%d&w=%d'base64_encode($result['url']), $result['height'], $result['width']); ?>
                              2. tweak.php line 4

                              From
                              PHP Code:
                              $url = ($_GET['u']); 
                              To
                              PHP Code:
                              $url base64_decode($_GET['u']); 
                              Buying mobile traffic, PM me with your traffic details

                              Comment

                              Working...
                              X