這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Image Parallax

描述

Upload the layers of your image, and create a parallax effect !

It works great on smart devices too !

The first step is to create with your favorite picture editing software (Photoshop, GIMP…) an independent image for each ground composing your image. All these layers shall be the same size, and should be in .png format as they are meant to include transparency areas.
Then, on your post editing page in WordPress, click the Insert Media button, and (the same way you would create a gallery) upload your layers under the Create Parallax item. Reorganise the layers if needed, from the background to the front.
You can finally configure the animation (calibrate, invert, limit, scalar, friction), and publish !

There is some examples on the plugin page.

It uses parallax.js by Matthew Wagerfield.

螢幕截圖

  • Upload your layers, organise them, and configure the animation.
  • First of all, generate independent .png files of each layer of your image. This is the boring step.

安裝

  1. Upload image-parallax to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a .png file for each layer
  4. Create an effect, upload your layers, and publish !

常見問題

No question asked

No answer to give.

評價

2018年5月17日
This plugin works just as intended, but can you add some new features, like instead of just mouse position parallax, it can be configured to parallax with a page’s scroll position, or by a click on the image itself/ a click and drag of the image
2016年9月3日
Bonjour! Just came across Image Parallax. Excellently done monsieur. Have attempted to get Wagerfield’s script in Wordpress but failed miserably. Have you managed to make it work with backgrounds? Merci beaucoup P
閱讀全部5個評價

貢獻者及開發者

“Image Parallax” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Image Parallax 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.1

Improved CSS

2.0

New version, now using a media type instead of a post type ! Compatible with WP3.9 !

1.3

Solved the size issue !
Updated the demo link.

1.2

Fixed the issues with post-thumbnails support.

1.1

Updated functions, moved to classes, cleaned the code…
Also fixed the funny opacity problem in the background.

1.0

Waiting for feed back !