Y T Nuke  
Results 1 to 12 of 12
Hi friends. I have a picture site. How can i grab pics from google images? ...
  1. #1
    bolanka is offline Newbies
    Join Date
    Feb 2010
    Posts
    38
    Reputation
    10
    Thanks
    56
    Thanked 5 Times in 3 Posts

    Default How can i grab pictures from google images?

    Hi friends. I have a picture site. How can i grab pics from google images? Is there any plugin or bot for this?

    I have

    AutoBlogged_2574
    Caffeinated_Content_Management_v.335
    wp-o-matic.1.0RC4
    wp_robot_v3.10

    But I cant. Wp robot isnt finding any result. I couldnt find any .rss about these pictures?

    Thanks...

  2. #2
    TheEditor's Avatar
    TheEditor is offline Regular Member
    Join Date
    Aug 2007
    Posts
    271
    Reputation
    14
    Thanks
    76
    Thanked 179 Times in 29 Posts

    Default Re: How can i grab pictures from google images?

    Not hard to do in a PHP script.

  3. #3
    sirgold's Avatar
    sirgold is offline Power Member
    Join Date
    Jun 2010
    Location
    A hot one
    Posts
    781
    Reputation
    134
    Thanks
    26
    Thanked 260 Times in 191 Posts

    Default Re: How can i grab pictures from google images?

    You need to code (have coded) a php script that preferably makes use of curl. The multi interface is able to send concurrent requests as in a multi-threaded environment, but from a simple web page, that's pretty neat and cozy if you have to harvest a LOT of them.

  4. #4
    redstone.1337's Avatar
    redstone.1337 is offline Power Member
    Join Date
    Dec 2009
    Location
    ~India~
    Posts
    727
    Reputation
    396
    Thanks
    1,916
    Thanked 873 Times in 294 Posts

    Default Re: How can i grab pictures from google images?

    Here it goes. I don't remember where but I found it somewhere on the web and have been using it for one of my project.

    To get the results run the following in PHP and it will return back the link of images in array. Then you can use file_get_contents() to get the image from its URL and then save it to on your server. Not too hard. If you don't know PHP then hire some guy, not a hard task.

    Usage:

    PHP Code:
    imageSearch("keyword here"); 
    Following contains the function and class, make sure to include it.

    PHP Code:
    function imageSearch($query) {
        
        
    $image_data object_to_array(googleImageSearch($query));
        foreach(
    $image_data as $image_obj) {
            
    $image_array object_to_array($image_obj);
            
    $image_links[] = $image_array['source'];
        }
        return 
    $image_links;
    }

    function 
    object_to_array($data) {
      if(
    is_array($data) || is_object($data))  {
        
    $result = array(); 
        foreach(
    $data as $key => $value) { 
          
    $result[$key] = object_to_array($value); 
        }
        return 
    $result;
      }
      return 
    $data;
    }

    // Image sizes
    define ('GIS_LARGE''l');
    define ('GIS_MEDIUM''m');
    define ('GIS_ICON''i');
    define ('GIS_ANY''');

    // Image types
    define ('GIS_FACE''face');
    define ('GIS_PHOTO''photo');
    define ('GIS_CLIPART''clipart');
    define ('GIS_LINEART''lineart');

    function 
    googleImageSearch ($query$page 1$size GIS_ANY$type GIS_ANY)
    {

        
    $retVal = array();

        
    // Get the search results page
        
    $response file_get_contents('http://images.google.com/images?hl=en&q=' urlencode ($query) . '&imgsz=' $size '&imgtype=' $type '&start=' . (($page 1) * 21));
        
        
    // Extract the image information. This is found inside of a javascript call to setResults
        
    preg_match('/dyn.setResults\(\[(.*?)\]\);/is'$response$match);
        
        if (isset(
    $match[1])) {
            
            
    // Grab all the arrays
            
    preg_match_all('/\[(.*?)\"\]/'$match[1], $m);
            
            foreach (
    $m[1] as $item) {
                
    // Explode on each paramter (comma delimeter)
                
    $item urldecode(str_replace('\x''%'$item));
                
    preg_match_all('/\"(.*?)\"/'$item$params);
                
                
    // Check for more than one paramter. Not sure why, but there seem to be empty array sets between actual results
                
    if (count($params[1]) > 0) {
                    
                    
    $params $params[1];
                    
                    
    // Important array indices
                    // 0  - Link to Google image result. This is the page that displays when you click a result through normal image search
                    // 3  - URL of source image
                    // 4  - Width of the thumbnail image
                    // 5  - Height of the thumbnail image
                    // 6  - Title of the image
                    // 9  - Width, height and size of the image (In the format of 'width × height - size')
                    // 10 - Image type
                    // 11 - Originating domain
                    // 18 - URL of google's thumbnail
                    
                    
    preg_match('/([\d]+) × ([\d]+) - ([\d]+)/'$params[9], $dimensions);
                    
    $t null;
                    
    $t->resultLink 'http://images.google.com' $params[0];
                    
    $t->source $params[3];
                    
    $t->title $params[6];
                    
    $t->width $dimensions[1];
                    
    $t->height $dimensions[2];
                    
    $t->size $dimensions[3];
                    
    $t->type $params[10];
                    
    $t->domain $params[11];
                    
    $t->thumb null;
                    
    $t->thumb->src $params[18];
                    
    $t->thumb->width $params[4];
                    
    $t->thumb->height $params[5];
                    
    $retVal[] = $t;
                    
                }
            }
            
        }
        
        return 
    $retVal;
        


  5. The Following User Says Thank You to redstone.1337 For This Useful Post:

    mikeycrashoverride (06-23-2011)

  6. #5
    MrSofteeMan's Avatar
    MrSofteeMan is offline Newbies
    Join Date
    Jun 2011
    Posts
    14
    Reputation
    10
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: How can i grab pictures from google images?

    Very nice share. This will help me learn some PHP

  7. #6
    frogmelter is offline Newbies
    Join Date
    Apr 2011
    Posts
    38
    Reputation
    10
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Re: How can i grab pictures from google images?

    Doesn't scrapebox have a function to do this in one of the add ons?

  8. #7
    mark1120 is offline Newbies
    Join Date
    May 2011
    Posts
    2
    Reputation
    10
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: How can i grab pictures from google images?

    You want to know a sleazy, eazy way to create huge websites for free?

    What I do is visit the torrent sites like the Pirate Bay, download the e-books that have a lot of hits. (Most are self-help psychological babble like: "How to Make People Like You In 90 Secs.
    That's 1 of 'em I got today.) Now I can do 1 of 3 things: I can either copy the book in its entirety and put it on a multi-page website, OR I can copy the ebook in its entirety and put it on an on-going blog page, OR I can copy parts of the book (like a few pages) and create a blog a piece for them.

    Afterwards I'll buy the $1.99 domains. Every now and then, I'll be cheap or lazy, and just use a sub-domain of one of the popular web creation services. (I recently did the latter off of Weebly for a Page Rank website. This site I actually spent a few hours a night making. For being live 7 days now, it's already on 4 popular keyword queries: 'page rank info, pagerank info, page rank secrets, pagerank secrets (here the dots are replaced with commas because I'm supposedly spamming by giving this example (page-rank, weebly, the commercial TLD to end this)...it hasn't found its way to Google yet...it's only on Bing and Yahoo at the moment.) This Weebly sub-domain site I just made is on their (Yahoo & Bing) SERPs 8 times (4 X 2) on page 1 or 2, even out-placing Alexa a few times.

    Sorry...I'm getting off track. Other than the example I have provided, I'll take these domains I bought and find server hosts spread out through the world. For one blog page, I'll purchase space for that blog on a server far away from my main website. Once these blogs are up and running, each of these blogs will link to one of my main site's pages, essentially fooling the bot to think my main site's getting linked from all over the world and getting linked multi-page numerous times.

    As a result of doing what I just mentioned (I'm not going to repeat it again) my Page Rank for the affiliate site (main site) is 8. My placement on Google's SERP is #2, page 1 (most of the time). It has only been up and running 5 months, beating the 10-year old 'authority' sites for a very popular merchandise keyword.

    What I just explained was a doorway page that anyone can do. This is the best way to achieve dominance both page rank wise and SERP wise. You have to consider what you're giving up compared to what you're gaining in this scenario.

    It's true...there are much faster ways to get your site listed quick. I've tried them all and have decided which one is the best - the way I just described.

    Now, my site isn't kicked off of Google 3 months later as it used to all the time. True, I do run into duplicate content sometimes, BUT rarely. Why? The main way Google determines if a site is 100% duplicated or not is by the outgoing links from that site. Change the links and Google thinks it's similarly related content (instead of duplicate content-there's a difference between the two).

    If you're still skeptical, change the verbs too. The verbs are the second thing duplicate content databases look at. ie CopyScape

    As of this writing I have 3 PR 8 sites, 1 PR 7 site, 8 PR 4 sites, 17 PR 2 sites, and 27 PR 1 sites, and 212 sites sitting somewhere on the first or second page of the SERP's for Google, Bing and/or Yahoo. If you're wondering how, look at my site I posted above and see how. (read below first)

    F*** everything else on this forum. What I just told you is the blueprint to getting your affiliate ads out there.

    What you put into it is what you'll get out of it. (I know that's a niche saying I just said but it's the bottom line.)

  9. The Following User Says Thank You to mark1120 For This Useful Post:

    seoguru13 (06-21-2011)

  10. #8
    Vkernes12's Avatar
    Vkernes12 is offline Newbies
    Join Date
    Apr 2011
    Location
    California
    Posts
    28
    Reputation
    10
    Thanks
    13
    Thanked 4 Times in 4 Posts

    Default Re: How can i grab pictures from google images?

    Quote Originally Posted by mark1120 View Post
    You want to know a sleazy, eazy way to create huge websites for free?

    What I do is visit the torrent sites like the Pirate Bay, download the e-books that have a lot of hits. (Most are self-help psychological babble like: "How to Make People Like You In 90 Secs.
    That's 1 of 'em I got today.) Now I can do 1 of 3 things: I can either copy the book in its entirety and put it on a multi-page website, OR I can copy the ebook in its entirety and put it on an on-going blog page, OR I can copy parts of the book (like a few pages) and create a blog a piece for them.

    Afterwards I'll buy the $1.99 domains. Every now and then, I'll be cheap or lazy, and just use a sub-domain of one of the popular web creation services. (I recently did the latter off of Weebly for a Page Rank website. This site I actually spent a few hours a night making. For being live 7 days now, it's already on 4 popular keyword queries: 'page rank info, pagerank info, page rank secrets, pagerank secrets (here the dots are replaced with commas because I'm supposedly spamming by giving this example (page-rank, weebly, the commercial TLD to end this)...it hasn't found its way to Google yet...it's only on Bing and Yahoo at the moment.) This Weebly sub-domain site I just made is on their (Yahoo & Bing) SERPs 8 times (4 X 2) on page 1 or 2, even out-placing Alexa a few times.

    Sorry...I'm getting off track. Other than the example I have provided, I'll take these domains I bought and find server hosts spread out through the world. For one blog page, I'll purchase space for that blog on a server far away from my main website. Once these blogs are up and running, each of these blogs will link to one of my main site's pages, essentially fooling the bot to think my main site's getting linked from all over the world and getting linked multi-page numerous times.

    As a result of doing what I just mentioned (I'm not going to repeat it again) my Page Rank for the affiliate site (main site) is 8. My placement on Google's SERP is #2, page 1 (most of the time). It has only been up and running 5 months, beating the 10-year old 'authority' sites for a very popular merchandise keyword.

    What I just explained was a doorway page that anyone can do. This is the best way to achieve dominance both page rank wise and SERP wise. You have to consider what you're giving up compared to what you're gaining in this scenario.

    It's true...there are much faster ways to get your site listed quick. I've tried them all and have decided which one is the best - the way I just described.

    Now, my site isn't kicked off of Google 3 months later as it used to all the time. True, I do run into duplicate content sometimes, BUT rarely. Why? The main way Google determines if a site is 100% duplicated or not is by the outgoing links from that site. Change the links and Google thinks it's similarly related content (instead of duplicate content-there's a difference between the two).

    If you're still skeptical, change the verbs too. The verbs are the second thing duplicate content databases look at. ie CopyScape

    As of this writing I have 3 PR 8 sites, 1 PR 7 site, 8 PR 4 sites, 17 PR 2 sites, and 27 PR 1 sites, and 212 sites sitting somewhere on the first or second page of the SERP's for Google, Bing and/or Yahoo. If you're wondering how, look at my site I posted above and see how. (read below first)

    F*** everything else on this forum. What I just told you is the blueprint to getting your affiliate ads out there.

    What you put into it is what you'll get out of it. (I know that's a niche saying I just said but it's the bottom line.)

    that's one epic share post. damn good stuff

  11. #9
    adbox is offline Power Member
    Join Date
    May 2009
    Age
    26
    Posts
    640
    Reputation
    18
    Thanks
    136
    Thanked 96 Times in 59 Posts

    Default Re: How can i grab pictures from google images?

    BlogSense makes use of Google Images Shortcodes. They work very well. Better than flickr.

    I'm also in the process of making a new plugin that will include this. But this is due out in the Fall. : /

  12. #10
    kharm's Avatar
    kharm is offline Regular Member
    Join Date
    Feb 2009
    Location
    Dark Forest
    Posts
    326
    Reputation
    35
    Thanks
    166
    Thanked 40 Times in 33 Posts

    Default Re: How can i grab pictures from google images?

    use an old version of scrapebox


  13. #11
    jsk123 is offline Newbies
    Join Date
    Apr 2011
    Posts
    14
    Reputation
    10
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Re: How can i grab pictures from google images?

    WOW!! great stuff!!! Thanks for sharing

Natural Slow Link Building


SEO Blasts - High quality link building service

Similar Threads

  1. Traffic from Google Images - 50k/day. How to monetize?
    By Seotyphoon in forum Making Money
    Replies: 19
    Last Post: 05-08-2011, 04:38 PM
  2. Replies: 11
    Last Post: 01-08-2011, 10:28 PM
  3. Google Class Action Lawsuit
    By str8thustler in forum Adwords
    Replies: 11
    Last Post: 06-21-2009, 10:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76