Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Before After Image Slider Lite

Описание

The Before After Image Slider for WordPress allows you to easily show and compare two images. See screenshots or demo for more information.

The lite version contains the following features:

  • One mode (overlay)
  • Define left and right alt-Attribute
  • Set width
  • Set title
  • Shortcode generator (Note: You have to install the optional Favpress framework for this, see FAQ)
  • Define additional classes

Support

Please use the support forum in case of any problems or questions before
just giving a bad rating. We really take this seriously.

Применение

Please see the Other Notes section for more details on this.

HINT:

There is also a pro version available with direct support and additional features like more modes, Visual Composer support, setting an inital value, linking images and more…

View pro version

Применение

Генератор коротких кодов

To be a able to use the handy shortcode generator, you have to install the optional Favpress framework.
Set FAQ for this.

Hint: After you’ve created your pages, you can safely deactivate (and remove) Favpress again. It is only needed for this editor functionality.

Note: The generator currently only works in the visual editor mode.

Короткий номер

The basic shortcode looks like this:

[image-comparator][/image-comparator]

You may use the following parameters:

  • left (required) — Url or id of the left image.
  • left_alt — «alt» attribute of the left image.
  • right (required) — Url or id of the right image.*
  • right_alt — «alt» attribute of the right image.
  • title — Optional title.
  • width Optional width, i.e. 70%.
  • classes — Additional CSS classes. Hint Use ‘hover’ to enable a mouse hover effect.

Shortcode Examples

Just images:

[image-comparator left="http://.../left.jpg" right="http://.../right.jpg"][/image-comparator]

When you know the media id of the images you can do it like this:

[image-comparator left="123" right="456"][/image-comparator]

(This will also let you translate the media using WPML.)

Enable hover effect:
[image-comparator classes=»hover»][/image-comparator]

Full example:

[image-comparator
    left="http://test.moewe.io/before-after-image-slider-lite/wp-content/uploads/sites/12/2015/03/cobra_blend_right1.jpg"
    left_alt="The cobra is red"
    right="http://test.moewe.io/before-after-image-slider-lite/wp-content/uploads/sites/12/2015/03/cobra_blend_left.jpg"
    right_alt="The cobra is black"
    width="70%" classes="hover"
    title="With hover (just move the mouse)"]
[/image-comparator]

Скриншоты

  • Применение Example 1
  • Генератор коротких кодов
  • Применение Example 2

Установка

You can install the plugin in two ways:

From within WordPress plugin installation (recommended)

  1. Search for «Before After Image Slider»
  2. Download it and then active it.

или

  1. Upload and activate the file «before-after-images-slider-lite.zip» manually.

From the WordPress plugins page

  1. Download the plugin, extract the zip file.
  2. Upload the «before-after-images-slider-lite» folder to your /wp-content/plugins/ directory.
  3. Active the plugin in the plugin menu panel in your administration area.

Upgrade Notice

Always upgrade to the newest release to profit from bugfixes and new features.

Часто задаваемые вопросы

Installation Instructions

You can install the plugin in two ways:

From within WordPress plugin installation (recommended)

  1. Search for «Before After Image Slider»
  2. Download it and then active it.

или

  1. Upload and activate the file «before-after-images-slider-lite.zip» manually.

From the WordPress plugins page

  1. Download the plugin, extract the zip file.
  2. Upload the «before-after-images-slider-lite» folder to your /wp-content/plugins/ directory.
  3. Active the plugin in the plugin menu panel in your administration area.

Upgrade Notice

Always upgrade to the newest release to profit from bugfixes and new features.

Where is the shortcode generator?

To be able to use the shortcode generator, you have to install the optional FavPress framework. You should be prompted
for this after activating the plugin.

Отзывы

21.11.2017
I found this plugin after another one I was trying out was conflicting with other stuff. It worked perfectly out of the box, but my portrait images were far too long. I asked on the support theme and had a super quick reply with the perfect answer! Highly recommend this plugin
03.09.2016
I tried four other plug-ins that didn't work and this worked seamlessly. So happy and satisfied.
Посмотреть все 19 отзывов

Участники и разработчики

«Before After Image Slider Lite» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Before After Image Slider Lite» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

2.1.1

  • Fixed a JavaScript bug, which prevented using the toggle in FF

2.1

  • Improved localization support

2.0

  • Used FavPress in favor of Vafpress (You may remove Vafpress after updating the plugin)
  • Updated noUISlider to latest version
  • Removed included translations in favor of translate.wordpress.org

1.15

  • Checked compatibility with WordPress 4.6
  • Improved compatibility with themes and overlay method
  • A little larger knob on smaller devices

1.14

  • Hopefully finally fixed the theme incompatibility problems.

1.13

  • Security Fix Updated TGM to latest version
  • Улучшена совместимость тем

1.12.1

  • Added link to support forum and rating in administration

1.12

  • (Hopefully) improved performance for hover mode
  • Updated slider layout to be a little smaller and «darker»
  • Updated icons for shortcode generator

1.11.2

  • Improved description
  • Added Turkish translaton. Thanks to İbrahim Mumcu

1.11.1

  • Removed screenshots from plugin (reduces size)

1.11

  • Added German translation
  • Added Serbian translation. Thanks to Ogi Djuraskovic

1.10

  • Updated noUISlider to 7.0.10
  • Added better support for localization

1.9

  • Intial public release