23 responses to “Drupal: Tutorial for Feeds Image Grabber”

  1. Drupal: Feeds Image Grabber | Public Mind
  2. Tutorial for FeedAPI Image Grabber | Public Mind

    [...] Tutorial for Feeds Image Grabber (FIG) published. (6 march 2010) [...]

  3. day trader

    good job, but I have a question is that the feeds didn’t released 7.X,but your plugin(feed image grabber)have been released 7.X

  4. Josh

    Agreed pretty awesome, but I’m looking to snag images right from the body of posts. Most feeds I’ve encountered we’re so nice about placing an image item right in them, though this module would be great for flickr feeds and even getting avatar images into a field for good display.

    Here is some code I used to catch the first image in a post body.
    Altered from this post intended for WordPress http://www.wprecipes.com/how-to-get-the-first-image-from-the-post-and-display-it
    I’m using it for Drupal, and unfortunately I can’t post the real PREG here.

    function retrofit_custom_catch_image($string) {
    $first_img = ”;
    $output= preg_match_all(‘ GO GET THE REAL PREG FROM THE POST ‘, $string, $matches);
    $first_img = $matches[1][0];
    if(empty($first_img)){ //Defines a default image
    $first_img = “/images/default.jpg”;
    }
    return $first_img;
    }

    Hope I just made your day!

  5. Spark_man

    I installed your module and have followed the directions up to the bit about the mapping but “photo (FIG)” isn’t showing up in the target list? Any ideas?

  6. Aaron

    Okay, I might be a little confused about what you can do with this module.

    I’m parsing an XML file with the Feeds module and I would like to grab an image.
    From something like this…

    Will this not work? Right now its not working, although I have used this feature successfully for non-xml feeds in the same site.

    1. Aaron

      Oh, hahah – I guess it cut out the example XML I put right after “something like this..”, yeah I’ll head over to the issue que.

  7. Cosite

    I am sure this is a great article.
    for now , I still can not import the images from feeds. here is the feed:

    http://api.flickr.com/services/feeds/groups_pool.gne?id=48889079722@N01&lang=en-us&format=atom

    and then what is the ID or CLASS for “Search for an image between the tag which is identified by” ?

    can you help me ?

  8. Carlos Tremblay

    Hi,
    I am using the Feeds module to import content from a CSV file (not from a Feed) using the “File upload” fetcher. Can FIG be used in that context? I already mapped an image (FIG) field in the Node processor mappings but I don’t see the FIG config form as shown above in your tutorial.
    Thanks!

  9. Garrett Dawson

    I am trying to implement this module for the Feeds module, in order to grab multiple images via xml. This looks like the solution to my problem.

    Unfortunately, after mapping everything, etc… I don’t see this form when creating a field.
    “Feeds Image Grabber Settings:”

    Any clues would be most excellent, ’cause this looks like the hotfire.

  10. James

    Do you know if there will be FIG for Drupal 7?

  11. VasyOK

    Hi, everyone!

    Maybe i do something wrong, but i don’t saw images in imported nodes.

    FileField Paths is required for image import?

    All that i do, i show on http://drupal.org/node/1304446

Leave a Reply

Open Source Projects

My Shared Items