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
Installation
If you want to install this plugin for all the blogs on your network, follow the typical plugin install procedure:
- Copy the contents of this archive to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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:
- Copy the file ‘sitewide_recent_images.php’ from this archive and into the theme’s directory
- Edit the theme’s ‘functions.php’ file, adding the following that will include the plugin:
include_once(get_template_directory() . ‘/sitewide_recent_images.php’); - Activate the modified theme in ‘Appearance > Themes’
- 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.
ContributorsTranslate “Sitewide Recent Images” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- First public release