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.

Easy Image Display

Description

Sometimes you need a proper image gallery to display particular images, and there
are plenty of plugins for that. Easy Image Display is for those other
times, when all you need is an easy way to display some random images, or X latest/oldest
images uploaded to your site.

Current features include:

  • Show or hide image captions
  • Newest, oldest, random and custom sorting options
  • Include/exclude images based on ID
  • Widget, shortcode and template tag for maximum flexibility
  • Display images at various sizes
  • Control how many images are displayed and in how many columns
  • Link images to a lightbox, static URL, or remove link entirely
  • Uses gallery shortcode so will always fit your theme

Features soon to be added:

  • Filter images by attachment status
  • Slideshow layout
  • Custom image sizes

If you’d like to support the ongoing development of this plugin, please take a look at my Patreon page.

Usage

Easy Image Display provides 3 ways of displaying images; widget, shortcode and template tag. Each method accepts the same options and will result in the same display.

Widget

The Easy Image Display widget is the easiest way to display your images. The basic settings allow you to control image size, order and number. More advanced settings are collapsed by default to provide a simple uncluttered interface.

Choose your options, hit save, and rejoice.

Shortcode

To display images inside a post or page rather than a widget area, you need a shortcode.

Default settings:

[sb_easy_image]

Custom settings:

[sb_easy_image num="1" order="random" link="lightbox"]

Template tag

The template tag is available for users who are confident in adding code to theme files, and need to display images outside of the widget areas or main content area. The following function can be added anywhere in your theme files.

Default settings:

<?php sb_easy_image(); ?>

Custom settings:

<?php

$args = array(
    "num" => "1",
    "order" => "random",
    "link" => "lightbox",
);

sb_easy_image( $args );

?>

For full list of parameters see the plugin release page

Installation

  1. Upload the ‘easy-image-display’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add images using the widget, shortcode or template tag
  4. Enjoy!

FAQ

Installation Instructions
  1. Upload the ‘easy-image-display’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add images using the widget, shortcode or template tag
  4. Enjoy!
The widget always displays images in one column?

Some themes handle gallery styling differently in different areas of the page.
If your theme does not support multiple column galleries in a widget area you
may need to add some custom CSS.

Every theme is different, but if you’re unfamiliar with CSS and need some help
please post in the plugin support forum with a link to your site.

How can I get rid of grey borders around my images?

This border is part of the default gallery CSS generated by WordPress. To override this you can add the following CSS to your
theme, usually in style.css :

.gallery img {
    border: 0 !important;
}
How can I get rid of the whitespace above my images?

This margin is part of the default gallery CSS generated by WordPress. To override this you can add the following CSS to your
theme, usually in style.css :

.gallery-item {
    margin-top: 0px !important;
}
How does the custom sorting option work?

This option will only take effect when filter is set to “only”, as that is the only time when every image ID is specified
and can therefore be ordered correctly.

Reviews

September 3, 2016
A handy plugin if you need such a function. Very well conceived and useful options. I like the ability to show column of images in widget and to choose with images size to choose.
February 8, 2017
Great plugin. Simple and did exactly what I needed. The short code needs a little more documentation. Other options not mentioned in the description are: link="none" ids="11,12,13" (list of image ids to include) size="medium"
Read all 12 reviews

Contributors & Developers

“Easy Image Display” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Easy Image Display” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.5

  • Fixed problem with static URL link option being ignored

1.2.4

  • Compatibility with WP 4.3

1.2.3

  • Fixed problem with caption links + lightbox

1.2.2

  • Added option to show/hide captions

1.2.1

  • Fixed incompatibility with other plugins affecting the [gallery] shortcode

1.2.0

  • Added option to specify range of image IDs
  • Added custom sorting option
  • Various performance fixes

1.1.1

  • Fixed compatibility with PHP 5.4
  • Added option to link images to static URL
  • Small performance fix

1.1.0

  • Fixed version numbering

1.0.2

  • Added option to include/exclude images based on ID
  • Fixed issue with widget form not expanding correctly

1.0.1

  • Fixed an incompatibility with other lightbox plugins

1.0

  • First version