Title: Sravnitel
Author: okdzhimiev
Published: <strong>2017년 1월 21일</strong>
Last modified: 2017년 2월 27일

---

플러그인 검색

![](https://ps.w.org/sravnitel/assets/banner-772x250.png?rev=1582254)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/sravnitel/assets/icon-256x256.png?rev=1582254)

# Sravnitel

 작성자: [okdzhimiev](https://profiles.wordpress.org/okdzhimiev/)

[다운로드](https://downloads.wordpress.org/plugin/sravnitel.1.3.zip)

 * [세부사항](https://ko.wordpress.org/plugins/sravnitel/#description)
 * [평가](https://ko.wordpress.org/plugins/sravnitel/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/sravnitel/#installation)
 * [개발](https://ko.wordpress.org/plugins/sravnitel/#developers)

 [지원](https://wordpress.org/support/plugin/sravnitel/)

## 설명

Sravnitel is a WordPress plugin by Elphel Inc. based on a jQuery plugin _jquery.
sravnitel.js_.

**Features**

 * Compare 2+ images
 * Zoom and pan
 * Initial zoom and offset
 * Touch events: click, drag, pinch to zoom

**Tips**

 * Click on the view area to quickly switch between left and right image
 * Click on the zoom info in the top right to zoom-to-fit the view area
 * To place several instances of the plugin assign unique ids: [sravnitel id=’test1′…],[
   sravnitel id=’test2′ …]

**Working demo**

[Elphel’s Blog: Lapped MDCT-based image conditioning with optical aberrations correction, color conversion, edge emphasis and noise reduction](http://blog.elphel.com/2017/01/lapped-mdct-based-image-conditioning-with-optical-aberrations-correction-color-conversion-edge-emphasis-and-noise-reduction/)

**Quick examples**

 * Fit image into the view window, w/o titles:
    [sravnitel images=”ID0,ID1,ID2″ 
   width=640 height=480]
 * Fit image into the view window, with titles and toggle button:
    [sravnitel images
   =”ID0,ID1,ID2″ width=640 height=480 showtitles=true showtoggle=true]
 * Also fit image, with titles:
    [sravnitel images=”ID0,ID1,ID2″ width=640 height
   =480 showtitles=true zoom=0]
 * Zoom 30%, with titles, x=0 and y=0 in the center of the view window:
    [sravnitel
   images=’ID0,ID1,ID2′ width=640 height=480 showtitles=true zoom=0.3 center_x=0
   center_y=0]

**Shortcode Parameters**

 * **id** – int – 0 – wrapper’s <div> element id
 * **images** – str – ” – (required) list of images ids (attachment_id), comma separated
 * **width** – int – 530 – view window width px
 * **height** – int – 300 – view window height px
 * **showtitles** – bool – false – show/hide titles
 * **showtoggle** – bool – false – show/hide button – switch between left and right
   image
 * **index_l** – int – 0 – init, left image – is the index of the images array, 
   starting from 0
 * **index_r** – int – 1 – init, right image – is the index of the images array,
   starting from 0
 * **zoom** – float – 0 – init, zoom, 0 – fit to view window, 1.0 – 100%
 * **center_x** – int – 0 – init, x coordinate of the original image to be placed
   in the center of the view window
 * **center_y** – int – 0 – init, y coordinate of the original image to be placed
   in the center of the view window

## 스크린샷

[⌊Working plugin⌉⌊Working plugin⌉[

Working plugin

[⌊Shortcode⌉⌊Shortcode⌉[

Shortcode

[⌊Description field in the attachment details⌉⌊Description field in the attachment
details⌉[

Description field in the attachment details

## 설치

 1. Upload the plugin files to the `/wp-content/plugins/sravnitel` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.

## FAQ

  How is it implemented?

Same as Twenty20 plugin – stacks two selected images so they are displayed as if
one is lying on top of another. As the slider moves the compared images are displayed
on the opposite sides of the divider.

Image titles are taken from description or title (if description is empty) of the
attached image.

  How to find the ID of the attached image?

It’s an integer number. Insert an image into a post and look for “wp-image-NN”. 
Or find the permalink of the attachment. Type in NNs into the plugin’s shortcode.

  Examples

 * Fit image into the view window, w/o titles:
    [sravnitel id=”test” images=”ID0,
   ID1,ID2″ width=640 height=480]
 * Fit image into the view window, with titles and toggle button:
    [sravnitel images
   =”ID0,ID1,ID2″ width=640 height=480 showtitles=true showtoggle=true]
 * Also fit image, with titles:
    [sravnitel images=”ID0,ID1,ID2″ width=640 height
   =480 showtitles=true zoom=0]
 * Zoom 30%, with titles, x=0 and y=0 in the center of the view window:
    [sravnitel
   images=’ID0,ID1,ID2′ width=640 height=480 showtitles=true zoom=0.3 center_x=0
   center_y=0]

  Shortcode Parameters

 * **id** – int – 0 – wrapper’s <div> element id
 * **images** – str – ” – (required) list of images ids (attachment_id), comma separated
 * **width** – int – 530 – view window width px
 * **height** – int – 300 – view window height px
 * **showtitles** – bool – false – show/hide titles
 * **showtoggle** – bool – false – show/hide button – switch between left and right
   image
 * **index_l** – int – 0 – init, left image – is the index of the images array, 
   starting from 0
 * **index_r** – int – 1 – init, right image – is the index of the images array,
   starting from 0
 * **zoom** – float – 0 – init, zoom, 0 – fit to view window, 1.0 – 100%
 * **center_x** – int – 0 – init, x coordinate of the original image to be placed
   in the center of the view window
 * **center_y** – int – 0 – init, y coordinate of the original image to be placed
   in the center of the view window

## 후기

![](https://secure.gravatar.com/avatar/79d332fdfaabba3f1ae0bb5688c70f640603f63379291587532d53cdd6ec96aa?
s=60&d=retro&r=g)

### 󠀁[Site-visitors can compare selectable images with zoom and pan and slider](https://wordpress.org/support/topic/site-visitors-can-compare-selectable-images-with-zoom-and-pan-and-slider/)󠁿

 [prepar3dforflight](https://profiles.wordpress.org/prepar3dforflight/) 2017년 3
월 7일

This is (at this time) the ONLY WordPress plugin allowing your site visitors to 
compare two pictures ( befor / after comparison) from a given picture range, so 
from multiple pictures! You just enter the ids, give the size for the plugin, and
this very cool plugin takes the pictures in its container, creates a list under 
the image-comparison made by description, or if empty from the image-title, and 
adds two checkbox columns in front of it. So your visitors can select the two pictures
from the list to compare, and than slide over them to see the differences. The can
also zoom in the pictures by mousewheel! And pan by dragging with left mouse button!
It also works in responsive themes! And on mobile devices! Like you would expect:
Just panning by moving with finger in the graphic, or spreading two fingers to zoom
or sliding on the slider. Absolutly great Plugin! I love it! You can see an example
at https://p3d-fsx.de/

 [ 모든 1 평가 읽기 ](https://wordpress.org/support/plugin/sravnitel/reviews/)

## 기여자 & 개발자

“Sravnitel”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ okdzhimiev ](https://profiles.wordpress.org/okdzhimiev/)

[자국어로 “Sravnitel”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/sravnitel)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/sravnitel/)는, [SVN 저장소](https://plugins.svn.wordpress.org/sravnitel/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/sravnitel/)을
[RSS](https://plugins.trac.wordpress.org/log/sravnitel/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.3

 * Allow more than one instance on the page
 * Set title table margin to 0px
 * Fixed [… showtitles=false …] showing titles
 * Added delayed images place updating due to drag event lagging.

#### 1.2

 * Fixed view size when titles are disabled (showtitles=false)
 * Fixed divider containment area – offset() instead of position()

#### 1.1

 * Fixed coordinates not rounding while dragging
 * Added single touch events by enabling ‘jquery-touch-punch’ in enqueue.php
 * Added multi touch – zoom by pinching (tested on Android)
 * Added a toggle button – to switch between images (hidden by default)
 * Changed handle look

#### 1.0

 * Initial release.

## 기초

 *  버전 **1.3**
 *  최근 업데이트: **10년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 4.5.5 또는 그 이상 **
 *  다음까지 시험됨: **4.7.35**
 *  언어
 * [English (US)](https://wordpress.org/plugins/sravnitel/)
 * 태그:
 * [before after slider](https://ko.wordpress.org/plugins/tags/before-after-slider/)
   [images](https://ko.wordpress.org/plugins/tags/images/)[page](https://ko.wordpress.org/plugins/tags/page/)
   [posts](https://ko.wordpress.org/plugins/tags/posts/)[visual composer](https://ko.wordpress.org/plugins/tags/visual-composer/)
 *  [고급 보기](https://ko.wordpress.org/plugins/sravnitel/advanced/)

## 평점

 별 5점 만점에 5점.

 *  [  1/5-별점 후기     ](https://wordpress.org/support/plugin/sravnitel/reviews/?filter=5)
 *  [  0/4-별점 후기     ](https://wordpress.org/support/plugin/sravnitel/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/sravnitel/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/sravnitel/reviews/?filter=2)
 *  [  0/1-별점 후기     ](https://wordpress.org/support/plugin/sravnitel/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sravnitel/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/sravnitel/reviews/)

## 기여자

 *   [ okdzhimiev ](https://profiles.wordpress.org/okdzhimiev/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/sravnitel/)