WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Image Feed Widget

A widget to display imges from RSS feeds such as twitter, flickr or youtube

How do I define the size of the thumbnails?

The thumbnail images can easily sized by placing something like this in your theme's css stylesheet:

.image-feed-small a img { max-height: 100px; max-width: 100px; }

The above css code will apply to all widgets. You can use "height" and "width" instead of "max-height" and "max-width" if you prefer.

What about having several images per line?

Easy too, the content of the widget is a list, so you just need to add this to your theme's css stylesheet:

image-feed-list { display: inline; }

you must of course specify a width that allows more than one image to fit in your sidebar...

And how do I use the plugin in my theme?

Anywhere in your theme templates, you can display a list of images coming from rss feeds. Just place the following code where you want the images to appear:

<?php get_image_feed_list($feedslist, $maxfeeds, $divname, $printtext, $target, $useenclosures); ?>

Where: * $feedlist is a comma-separated list of rss feed urls (mandatory) * $maxfeeds is the maximum number of images to display (optional, default = 90) * $divname is a name suffix for the list class. "myList" will become "image-feed-myList" (optional) * $printtext must be 1 if you want the image title to be printed below the image (optional) * $target is "samewindow" or "newwindow", depending on where you want links to open (optional, default = samewindow) * $useenclosures is "yes" or "no" (optional, default = yes). Use this if you don't want to use the tag in the feed and force the script to find an image link in the feed item description. Some feeds like flickr use an original-size image in enclosure and a thumbnail-size image in the description, don't ask me why...

Example:

<?php get_image_feed_list("http://www.example1.com/rss,http://www.example2.com/rss2", 10, "myImagesList"); ?>

Requires: 2.8.4 or higher
Compatible up to: 3.2.1
Last Updated: 2011-12-1
Downloads: 11,225

Ratings

4 stars
4.1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
0,1,0
100,2,2
100,1,1
0,4,0
0,2,0
100,1,1