Replies: 2 comments 2 replies
-
Are you familiar with dotLottie files? They can directly include image files that are used in the animation, without having to encode them as base 64. imo that's the best way to handle images in Lottie animations, in cases where you know the image content up-front and don't have to change it dynamically at runtime. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use case
I have a generic lottie animation with placeholder image. I want to replace placeholder with real image in runtime with some remote image from CDN.
Desired behavior
I could use remote images URLs in lottie assets section.
Current behavior
Right now the only way to accomplish that is to convert image to base64 and replace the asset url in lottie json.
Beta Was this translation helpful? Give feedback.
All reactions