Linux 软件免费装
Banner图

Easy Image Display

开发者 Shellbot
更新时间 2018年6月7日 20:48
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 4.3
版权: GPLv2 or later
版权网址: 版权信息

标签

image gallery latest image random image

下载

详情介绍:

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: Features soon to be added: 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

安装:

  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!

升级注意事项:

1.2.4
  • Fixes compatibility with upcoming WP 4.3
1.2.3
  • Fixes problem with caption links + lightbox
1.2.2
  • New feature! Show/hide image captions.
1.2.1
  • Fixes incompatibility with other plugins affecting the [gallery] shortcode
1.2.0
  • New feature! Specify a range of image IDs.
  • New feature! Custom sorting option.
1.1.1
  • New feature! Link images to static URL.
1.1.0
  • New feature! Include/exclude images based on ID.
1.0.2
  • New feature! Include/exclude images based on ID.
1.0.1 Fixes an incompatibility with other lightbox plugins.

常见问题:

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.

更新日志:

1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.1 1.1.0 1.0.2 1.0.1 1.0