This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Sitewide Recent Images

Description

This plugin will add a widget that displays thumbnails of the most recently posted images from all the blogs in a network. It’s highly optimized to be scalable for large networks, so it should need only about 100 database queries even for a network of thousands of sites. And to keep any performance drain as minimal as possible, the plugin utilizes caching with an adjustable update interval.

  • Note that images are taken only from blogs and posts which don’t have privacy options enabled (compatible with More Privacy Options) and the image must be attached to a post. So essentially, only public images are shown.

The widget formatting is completely customizable via a template and/or CSS (if available). The template uses patterns that will plug in values for the following:

  • Image Title
  • Image Caption
  • Image Description
  • Image Thumbnail URL
  • Full Image URL
  • Image Publish Date
  • Parent Post Title
  • Parent Post URL
  • Blog URL

Screenshots

  • A mostly default view of the widget on the front-end
  • Widget options on the back-end

Installation

If you want to install this plugin for all the blogs on your network, follow the typical plugin install procedure:

  1. Copy the contents of this archive to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the ‘Appearance > Widgets’ menu and add ‘Sitewide Recent Images’ to a sidebar

Alternatively, you can add this plugin to a theme that can be used on only a subset of your blogs:

  1. Copy the file ‘sitewide_recent_images.php’ from this archive and into the theme’s directory
  2. Edit the theme’s ‘functions.php’ file, adding the following that will include the plugin:
    include_once(get_template_directory() . ‘/sitewide_recent_images.php’);
  3. Activate the modified theme in ‘Appearance > Themes’
  4. Go to the ‘Appearance > Widgets’ menu and add ‘Sitewide Recent Images’ to a sidebar

FAQ

The images are wrapping into only one column. There is too much white-space to the right of the images.

As the width of sidebars varies between themes, you might have to adjust the default width of 100 pixels to get the images to wrap perfectly. You can adjust the width in the widget’s ‘Image Template’ option. Lower the width if images are wrapping into one column. And increase the width if there is too much white-space on the right side. For example, the Twenty-Ten theme works best with 95px width.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Sitewide Recent Images” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • First public release