跳到内容

Responsive Image Widget

v1.4

benarobinson · 2013年7月9日 上架

Displays a responsive image with an optional link. An easy way to place reliably scaled images in the sidebar or other widget area.

正在使用
400+
评分
4.2 / 5
累计下载
2.7 万
最近更新
2013年7月23日
5 条评价需要 WordPress 3.0.1+已测试到 3.5.2

贡献者

截图

The widget controls.
The widget controls.
A vertical image frame.
A vertical image frame.
A square image frame.
A square image frame.
A very horizontal image frame.
A very horizontal image frame.

A very simple widget that displays a single responsive, rationally proportional image in a widget area. Intended to make adding images (whose proportions are important) to sidebar areas easier for non-technical users who would have trouble using the text widget to insert images into the sidebar.

One of its key features is the fact that it allows proportional adjustment on the fly, so the user can easily change the proportion of the image inside of WordPress, instead of needing to resize the image in an editor (a problem for many users who do not have a lot of experience resizing/cropping images.) Basically, it creates a frame for an image rather than adding an image directly, and the frame size can be set before the image is added, much like in Adobe inDesign, where frames can be laid out and then have pictures inserted into them.

It takes a title, image URL, ratio and target link URL. It outputs a rationally proportional div with the image set as a background. Using the CSS background-size and background-position properties, the image always fills the whole space and remains centered.

Note: the image always fills the width of its container. If the widget/widget area where the image is placed is large, the image will appear large.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums