Moving image shortcode gives your images nice moving effects to grab visitor’s attention. Using this shortcode you can apply CSS3 animation effects such as Pulse, Tossing, Vertical Float and Horizontal Float.

In this article, we will explain displaying and configuring Moving Image shortcode.


Displaying Moving Image Shortcode

To add Moving image shortcode:

1Add or edit an existing page or post.
2In Visual Composer section, Click + button.

moving image shortcode

3In Add Element pop-up screen, search for Moving Image and click on it to be added to the page.

moving image shortcode

4When the shortcode is added, a new pop-up screen called Moving Image Settings opens. It allows you to configure the shortcode settings.

moving image shortcode

5From Upload Your Image field, choose an image.

moving image shortcode

6Click Save Changes and publish or update the page to check the result.

Configuring the Settings

There are several types of settings in the Moving Image Settings pop-up. We explain all the settings in the follow sections.

SettingDescription

StyleDefines the animation of the image. There are 5 animation types: Float Vertically, Float Horizontally, Pulse Tossing, Spin, Flip Horizontally.
AlignDefines the alignment of the image. The available options are : Left, Center, Right
Title & AltSets the title and alt attribute of the image

Adding an Entrance Animation

Viewport Animation field in the settings pop-up allows you to hide the shortcode initially and make it visible with animation when you scroll in the browser.

You can read Configuring shortcode’s entrance animation article for further explanation.

Adding an Extra Class Name

Extra Class Name field in the setting pop-up allows you to add an extra class name to the shortcode. It’s useful when you need to target the shortcode in a style sheet or JavaScript file.

You can read Adding custom CSS class to a shortcode article for further explanation.