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.
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
.jsonfiles for security reasons. This plugin safely addsjsonto the allowed upload MIME types. - Accurate File Typing: Ensures that WordPress correctly validates and interprets Lottie files as
application/jsonduring the upload check process. - Content Validation: Before trusting a
.jsonupload, 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.