Directory / plugin

File Uploader for Lottie Animations

v1.1 · by elejalde

A simple, lightweight WordPress plugin that enables the uploading of Lottie animations (JSON files) directly into your WordPress Media Library.

View on WordPress.org

About this plugin

A simple, lightweight WordPress plugin that enables the uploading of Lottie animations (JSON files) to your WordPress Media Library.

Features

  • JSON File Support: By default, WordPress restricts the uploading of .json files for security reasons. This plugin safely adds json to the allowed upload MIME types.
  • Accurate File Typing: Ensures that WordPress correctly validates and interprets Lottie files as application/json during the upload check process.
  • Content Validation: Before trusting a .json upload, the plugin checks that the file actually parses as valid JSON, so a renamed file with a different (and disallowed) content type is still blocked.

Plugin tags