跳到内容

Before After Pictures

v0.2.1

host1967 · 2011年2月16日 上架

Before After Pictures plugin integrates [jQuery Before/After Plugin](http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/ "jQuery Bef …

正在使用
10+
评分
暂无
累计下载
5,767
最近更新
2011年2月26日
需要 WordPress 2.9+已测试到 3.1.4

贡献者

截图

Before/After Pictures button in Visual Editor
Before/After Pictures button in Visual Editor
Before/After Pictures popup screnn
Before/After Pictures popup screnn
Before/After Pictures button in HTML Editor
Before/After Pictures button in HTML Editor
Before/After Pictures shortcodes in editor
Before/After Pictures shortcodes in editor
Before/After Pictures option page
Before/After Pictures option page
Before/After Pictures example
Before/After Pictures example

Before After Pictures plugin integrates jQuery Before/After Plugin in the wordpress. It can be used to show the difference between edited and original photo, before and after photos of changes, etc.

Please check ‘Other Notes’ for the Usage instructions to see how to use it on your blog

Demosites: http://www.ansichten-und-aussichten.de/beforeafter-pictures/

Operation with default theme
Operation with TwentyTen theme

Author info:
Holger Stroeder

Limitations

  • Both iomages must have the same size in pixels
  • Before/After Pictures works only on single posts and pages

Usage

  • Set the default options on the admin page of the plugin
  • Write the content of your post other than the images
  • Upload the before and after images to wordpress or any other webspace and remember the path/url

  • Switch to ‘Visuell’ mode of the post editor area

  • Click ‘Before/After Pictures’ button
  • Fill in the information in the popup screen (id, before and after image must be set), empty attributes can be deleted

or

  • Switch to ‘HTML’ mode of the post editor area
  • Click ‘Before/After Pictures’ button
  • Fill in the information in the editor area (id, before and after image must be set), empty attributes can be deleted

  • Parameters:
    [beforeafterpics id=” image_before=” image_after=” animateintro=” introdelay=” introduration=” showfulllinks=” /]

id: If you want to place multiple [beforeafter] sections on one page, every shortcode must have an unique id. (required if more than one image in the post)
image_before: path/url to the image file must be set. (required)
image_after: path/url to the image file must be set. (required)
animateintro: Whether or not to have the drag bar start completely to the right of the container and gradually move by itself to the midpoint. (optional)
introdelay: If animateIntro is true, the number of milliseconds to wait before beginning the automatic drag bar move to the center of the image. (optional)
introduration: If animateIntro is true, the number of milliseconds it will take for the drag bar to go from the right side of the image to the middle of the image. (optional)
showfulllinks: Whether or not to display links below the image that a visitor can click on that will automatically show the full before or full after image. (optional)

Plums

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

导航

说明

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

© 2026 Plums