Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Lottiefiles Field Formatter

No security coverage Under active development

This module allows you to display Lottie animations directly on your Drupal website. You can use it with file fields to upload Lottie JSON files or with link fields to point to Lottie JSON files hosted elsewhere, enhancing your site with dynamic visual content without impacting performance.

This module simplifies the integration of Lottiefiles animation into your Drupal website by providing field formatter for File and Link field. With this module, you can seamlessly render uploaded Lottiefiles or links to lottiefiles as lottie animations, enhancing your website with dynamic and engaging visual content.

Lottiefiles, is a platform offering lightweight and scalable animations, perfect for enhancing your website's visual content, advertisements, and user engagement. By using Lottie files, you're able to add quick, clean, vector animations to your website without slowing down your site with heavy GIFs or large video assets. This means you can enrich your web content with dynamic visual elements while keeping your website's performance optimal.

Post-Installation

  1. Using lottiefiles using File: If you have a lottiefiles json file that you'd like to use, follow these steps:

    • Create a Drupal File Field: Set up a Drupal file field where you'll upload your Lottie JSON file.
    • Configure Manage Display: In the content type's Manage Display settings, locate the file field that you've created. Then, choose "Lottiefiles File Field Formatter" as the format option.
  2. Using a url to lottiefiles json file: If you are using a link to a Lottie JSON file, here's what you need to do:

    • Create a Drupal Link Field: Create a Drupal link field where you'll provide the URL to the Lottie JSON file.
    • Configure Manage Display: In the content type's Manage Display settings, find the link field you've added. Select "Lottiefiles Link Field Formatter" as the format option.
  3. Adjust Settings (Optional)
  4. Enjoy the Lottiefiles Animation

Similar projects

There are two similar modules:

  1. Lottifiles field: Provides a new drupal field for uploading the lottiefiles
  2. Media entity Lottie This module is intended to be used with core Media entity that will ship with 8.4.0.

This module is a lightweight solution that provides field formatters for Drupal core file and link fields.

Ask your assistant about Lottiefiles Field Formatter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 9–10 Oct 16, 2023