Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Image Parallax

Beskrivning

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.

Skärmdumpar

  • 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.

Installation

  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 !

Vanliga frågor

No question asked

No answer to give.

Recensioner

17 maj 2018
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
3 september 2016
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
Läs alla 5 betyg

Bidragsgivare och utvecklare

”Image Parallax” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Image Parallax” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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 !