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

Modern Comparison Slider

설명

A modern, easy-to-use comparison slider. Compare before and after images, for grading, CGI and other retouching comparisons. Easily convert two images into a comparison slider to show your work, whether it’s photo grading, CGI, or any other kind of retouching.

Using an intuitive tag that wraps two images, there is no other work that needs to be done to get your comparison sliders working.

  • Two modern theme options
  • Great customization including start on hover, and starting point
  • Mobile friendly
  • Lightweight
  • Easy-to-use!

All example photos by Dane Wetton.

스크린샷

  • Theme: Standard
  • Theme: Circle
  • An example of using the tags
  • An example of using the tag options
  • Global settings for all sliders

설치

You can search Modern Comparsion Slider right in your WordPress plugins section, alternatively you can download and install the plugin:

  1. Upload modern-comparison-slider to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Wrap two images of the same size with the [compare] tag

FAQ

How do I use this plugin?

Place two images of the same size one after another in the editor (tip: If you’re using the new editor, make sure your block that holds these two images is set to ‘Classic’)

Wrap these two images with the [compare] [/compare] tag. That’s all it needs to get working!

How can I style the look and feel?

There is a settings page found at Settings > Modern Compare Slider that will affect all sliders on the website. However, you can override a look and feel of any particular slider by using these options:

To disable the drop shadow on the controls

[compare shadow="false"]

To change the color of the controls

[compare color="#4299e1"]

To change the theme

[compare theme="standard"]
[compare theme="circle"]

To change the starting point, where the value is the percentage to show the before image initially.

[compare startingpoint="75"]

To start the slider on hover

[compare hoverstart="true"]

To disable smoothing

[compare smoothing="false"]

To adjust the smoothing amount, where the higher the value, the more dampening you feel

[compare smoothingamount="250"]

You can add multiple options to a slider like so

[compare smoothing="false" color="#4299e1" theme="circle"]

후기

2020년 5월 1일 1 reply
This plugin is ultra-simple to implement. The default look is aesthetically pleasing. I like that clicking anywhere in the photo will reposition the slider to that point. Performance and responsiveness are excellent, but strangely only if the smoothing feature is disabled (smoothing="false"). One gripe is that there's doesn't appear to be any option to switch the slider from vertical to horizontal (v1.0.2).
모든 1 평가 읽기

기여자 & 개발자

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

기여자

“Modern Comparison Slider”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Modern Comparison Slider”(을)를 번역하세요.

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

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.0

  • Better mobile support (disables scrolling on interaction)
  • Interaction persists when user leaves the scroller while mouse is down

1.0.2

  • Accounts for WordPress automatically nesting images inside paragraph elements

1.0

  • Initial version, stable and ready to go!