-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use external images? #284
Comments
what do you mean? exporting placeholders from AE and replacing them with different images when rendering? |
Yes, exactly that! |
when you do bodymovin.loadAnimation you can add a param "assetsPath" to pass the path where the files should be looked for |
OK. But there's any way that I can change the name of the image that bodymovin uses dynamically? Even if I specify the assetsPath, bodymovin will look for an image with the same name. Sorry for the trouble. |
Not yet, but you can do it manually editing the json file or with some simple script. |
Relate question: Is it also in the pipeline that images can be given names based on the layer name in AE instead of the generic name? ( |
yes, but they will have the source name, not the layer name. |
@bodymovin is it possible to use |
@jvke yes, you can edit the json data and provide any path to new images. |
Excellent, thank you very much for an awesome program :-) @bodymovin |
you can set to use original image names, now. Hopefully this solves this issue. |
Is there a way to use an image that is dynamically transformed by the CSS in the same HTML page (say, change the hue/saturation of the image)? If so, how should I set the path in the json data. Note in this case, the transformed image would be sitting somewhere in the browser's memory, rather than on the physical hard disk. Thanks! |
@bodymovin ,how to use cdn image in data.json? |
@LiShunping If you want to pass a different base url, you can pass a parameter when calling loadAnimation: "assetsPath" |
@bodymovin thank you. I want to config some images from cdn,but others from local path.
|
Step 1 : right click on layer (vector file) After effects will create a new shape layer from the vector layer, and hide original vector layer. Note : Your composition background color will be reused in new shapes background by bodymovin, check your background color. |
@bodymovin Is this feature already implemented? Is it possible for bodymovin not to rename the exported files but use the source file names? How? Another related issue. In my case I'm exporting audio files and they're renamed but I'm also noticing the sound quality is reduced (the original ones are standard mp3 files). Is it possible? does bodymovin compress/reduce sound quality ? |
@rodbs respecting the original asset name will be fixed on the next deploy. Regarding audio quality, audios are reexported indeed, but you can select the quality on the Audio dropdown of bodymovin's config. |
Is there any new developement to the lottie-player regarding providing an 'assetsPath' and fetch the image(s) from that source, instead of embedding them in the .lottie-file? We use it like this:
There are other ways, I know, but is it at all possible? It works fine with the Bodymovin player like this:
Any suggestions? TIA :-) |
Hello,
This plugin is awesome! I just have a question: is it possible to use external images that exist on other site?
Thanks for the help.
The text was updated successfully, but these errors were encountered: