Help center

/

Documentation

/

Pan & Zoom Page FX

Pan & Zoom Page FX

Adds a slow zoom or pan to an image in a post or page, either as its own Page FX block or as an effect on an Image or Cover block.

Pan & Zoom Page FX


Pan & Zoom Page FX is used in the WordPress block editor rather than in the Module Editor. There are two ways to reach it.

To add a dedicated Pan & Zoom block, edit any post or page, click the block inserter, search for Pan & Zoom, and click Page FX · Pan & Zoom, then:

  • Page FX · Pan & Zoom Block
    • Pan & Zoom Panel
      • Edit Pan & Zoom

To add Pan & Zoom to an image instead, edit any post or page, select an Image block or Cover block, click Page FX in the block toolbar, and click Pan & Zoom, then:

  • Page FX · Pan & Zoom Panel
    • Edit Pan & Zoom
    • Remove Effect

Edit Pan & Zoom opens the same dialog in both cases:

  • Pan & Zoom Dialog
    • Moves
    • Replace image
    • Height
    • Direction
    • Corner
    • Strength
    • Easing
    • Duration (seconds)
    • Loop Effect
    • Remove
    • Preview
    • Done

Pan & Zoom Page FX gives an image in a post or page a slow, continuous camera move, zooming in or out and drifting across the picture. This is the effect often called Ken Burns. Its moves are the same as those of Slide Background Pan & Zoom in the Module Editor.

Pan & Zoom is one of the Page FX effects, which are added in the WordPress block editor. There are two ways to add it.

The first is the Page FX · Pan & Zoom block. Edit any post or page, click the block inserter, search for Pan & Zoom 1, and click Page FX · Pan & Zoom 2.

The block holds a single image of its own, shown at a height set in the dialog.

The second adds Pan & Zoom to an Image block or a Cover block already on the page. Select the block, click Page FX 1 in the block toolbar, and click Pan & Zoom 2. The block keeps its own image, and the move is applied to it.

The Page FX menu lists every Page FX effect the selected block can take, and a tick marks the ones already switched on for it.

Some effects cannot share a block. Pan & Zoom and Scroll Animation cannot both be on for the same block, so while one of them is on, the other's row in the menu is greyed out and reads Blocked by followed by the effect that is on.

Pan & Zoom can run on the same block as Cursor Motion and Hover Morph.

A Filmstrip on a Gallery or Columns block takes over every image inside it. An Image block inside one cannot take Pan & Zoom. Its menu reads Blocked by Filmstrip on every other effect, and lists Filmstrip as on, from the gallery around it.

Switching Filmstrip on for a Gallery or Columns block that already holds images with Pan & Zoom switches Pan & Zoom off on those images. A notice at the bottom of the editor says how many images were affected.

The images keep their Pan & Zoom settings, but the effect stays off until it is switched on again from the Page FX menu.

A block with an effect switched on shows a Page FX badge in its top right corner. Clicking the badge opens the block's Page FX menu.

Both routes open the same Pan & Zoom dialog, described in full below. The dialog differs only in the image settings and the Remove button. The block has its own image and height, while an Image or Cover block uses its own picture at its own size.

Page FX · Pan & Zoom Block

The Page FX · Pan & Zoom block places a single image with a Pan & Zoom move into a post or page.

A new block shows Upload and Media Library buttons for choosing the image.

Once an image is chosen, the block shows the name of the move beside a Settings button, with the image playing the move below. Settings opens the Pan & Zoom dialog. A new block starts on the Zoom & Pan move.

Pan & Zoom Panel

The Pan & Zoom panel in the block sidebar shows the move the block uses, and the button that opens the Pan & Zoom dialog.

Edit Pan & Zoom (Button)

Opens the Pan & Zoom dialog, where the image, the height, the move and every setting of the move are set.

Page FX · Pan & Zoom Panel

The Page FX · Pan & Zoom panel appears in the Settings tab of the block sidebar when an Image or Cover block with the Pan & Zoom effect is selected. It shows the move in use and the buttons that edit or remove the effect.

The move plays on the block's own image, so the panel and the dialog have no image settings for it. The move does not play in the editor. It runs on the published page and in the preview.

Edit Pan & Zoom (Button)

Opens the Pan & Zoom dialog, where the move and every setting of the move are set.

Remove Effect (Button)

Switches the Pan & Zoom effect off for the block, which then shows its image without a move. The move and its settings are kept, and come back if Pan & Zoom is chosen from the Page FX menu again.

Pan & Zoom Dialog

The Pan & Zoom dialog holds every setting of the effect. The moves are on the left and the settings are on the right, where the chosen move's name is shown above the settings that depend on it.

Changes in the dialog apply to the block as they are made, and are saved with the post or page.

Moves (Image Select)

Sets the camera move played on the image. Hovering a tile plays a preview of the move inside it, and clicking the tile applies it.

Some moves travel in a direction or toward a corner, which is set by Direction or Corner once the move is chosen. How far every move zooms is set by Strength.

A new Page FX · Pan & Zoom block starts on the Zoom & Pan move, and so does an Image or Cover block the first time Pan & Zoom is switched on for it.

Options:

  • Zoom In: The image starts at its normal size and slowly zooms in.
  • Zoom Out: The image starts zoomed in and slowly zooms back out to its normal size.
  • Pan: The image is held zoomed in and the view travels steadily from one side of it to the other.
  • Zoom & Pan: The image zooms in while the view travels across it.
  • Corner Push: The image zooms in while the view pushes from the center toward one corner.
  • Breathe: The image zooms gently in and then back out, so the move ends where it started.
  • Sweep: The image zooms in while the view moves to one side and then the other, then the view returns to the center and the zoom returns to normal.
  • Tilt Drift: The image zooms in while it rotates slightly in one direction.
  • Arc Swing: The image zooms in and partly back out while the view travels across it, in a curving swing.
  • Push & Settle: The image zooms in quickly, then zooms back out a little and stops.
  • Pull Back: The image starts zoomed in and pulls back while the view drifts across it.
  • Glide By: The image is held zoomed in, easing out slightly, while the view glides across it.
  • Float: The view drifts gently back and forth around the center while the zoom rises and falls slightly.
  • Corner Arc: The image zooms in while the view curves toward one corner.
  • Tilt Sweep: The image zooms in while the view moves across it and the image rotates slightly to one side, then to the other.

Replace image (Button)


  • Visible when the dialog is opened from a Page FX · Pan & Zoom block.
  • Hidden when the dialog is opened from an Image or Cover block.

Opens the WordPress media library to choose a different image for the block. A block with no image yet shows Select image here instead.

Height (Number, pixels, range, slider)


  • Visible when the dialog is opened from a Page FX · Pan & Zoom block.
  • Hidden when the dialog is opened from an Image or Cover block.

Sets the height in pixels of the block on the page. The image fills the full width and this height, and any part of it that does not fit that area is cropped off.

The value can be set with the slider or typed into the field beside it, as the two are mirrored.

Options:

  • 120: Minimum. The block is 120 pixels tall.
  • 1200: Maximum. The block is 1200 pixels tall.

Direction (Tab Select)


  • Visible when Moves set to Pan, Zoom & Pan, Sweep, Arc Swing, Pull Back, Glide By, Float or Tilt Sweep.
  • Hidden when Moves set to Zoom In, Zoom Out, Corner Push, Breathe, Tilt Drift, Push & Settle or Corner Arc.

Sets the direction the view travels across the image during the move.

Options:

  • Left: The view travels toward the left of the image.
  • Right: The view travels toward the right of the image.
  • Up: The view travels toward the top of the image.
  • Down: The view travels toward the bottom of the image.

Corner (Tab Select)


  • Visible when Moves set to Corner Push or Corner Arc.
  • Hidden when Moves set to any other move.

Sets the corner of the image the view moves toward as it zooms in.

Options:

  • Top Left: The view moves toward the top left corner.
  • Top Right: The view moves toward the top right corner.
  • Bottom Left: The view moves toward the bottom left corner.
  • Bottom Right: The view moves toward the bottom right corner.

Strength (Tab Select)

Sets how far the move zooms, and with it how far the view can travel across the image. On the moves that turn the image, it also sets how far the image turns.

Options:

  • Subtle: The move zooms about half as far as Medium, for a quiet effect.
  • Medium: The move zooms by the amount it was designed with.
  • Strong: The move zooms about one and a half times further than Medium, for a pronounced effect.

Easing (Tab Select)

Sets how the move speeds up and slows down. Moves made of several steps apply the easing to each step.

Options:

  • Preset: Uses the move's own easing. Zoom In, Zoom Out, Pan, Zoom & Pan, Corner Push and Tilt Drift run at a steady speed. Push & Settle starts quickly and slows toward its end. The other moves start and end each step gently.
  • Smooth: The move starts gently, speeds up and slows gently to a stop.
  • Snappy: The move starts quickly and slows sharply into its end position.
  • Back: The move goes slightly past its end position, then returns to it.
  • Bounce: The move bounces against its end position before coming to rest.
  • Elastic: The move springs past its end position and wobbles before coming to rest.

Duration (seconds) (Number, range, slider)

Sets how long one play of the move takes, in seconds. Longer durations give a slower, calmer move.

The value can be set with the slider or typed into the field beside it, as the two are mirrored.

Options:

  • 2: Minimum. The move plays in two seconds.
  • 30: Maximum. The move plays in thirty seconds.

Loop Effect (Toggle)

Sets whether the move repeats. When on, the image returns to the start of the move after a short pause and plays it again for as long as the page is open. When off, the move plays once and the image holds its final position.

Remove (Button)


  • Visible when the dialog is opened from an Image or Cover block.
  • Hidden when the dialog is opened from a Page FX · Pan & Zoom block.

Switches the Pan & Zoom effect off for the block and closes the dialog, the same as Remove Effect in the block sidebar.

Preview (Button)

Opens a preview of the post or page in a separate browser tab, where the move plays as it does on the published page. The editor autosaves the post first, because the preview is built from the autosave.

Done (Button)

Closes the dialog. The changes made in it are already applied to the block.

In this article

back to overview