Skip to content

[Lottie exporter] Do not copy images to other location while exporting #936

Open

Description

@morevnaproject

Currently, during export all images are copied into "images" subdirectory.

I suggest to keep all images in their respective locations instead. That will help to keep files in order if they are already organized in directories properly.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. AnishGG commented on Sep 4, 2019

    @AnishGG
    Member

    Initially I was doing as suggested by you in this issue. But due to that, some png image's were not rendering in the export(link), and hence I had to change it as it is now.
    By default lottie uses images subdirectory as is done in the export now. I will see if it is possible without creating a new subdirectory.

  2. morevnaproject commented on Sep 7, 2019

    @morevnaproject
    MemberAuthor

    But due to that, some png image's were not rendering in the export(link), and hence I had to change it as it is now.

    That's weird... I tried to move files outside "images" subdir and edited JSON/HTML file manually - that worked for me.

  3. AnishGG commented on Sep 8, 2019

    @AnishGG
    Member

    Did you try with png or jpg format files? Because jpg format files have no problem if they are given the original address of the image. The problem comes in png format files. Still I will revert this commit: cae7d39 and see what happens.

  4. morevnaproject commented on Mar 31, 2020

    @morevnaproject
    MemberAuthor

    I just tested it and if I change path to image, then everything works for me with png files -
    screenshot_004

    I have moved image and changed "u" parameter. Tested with absolute and relative paths.
    For current dir just set "u" parameter to "./", ^__^

  5. AnishGG commented on Mar 31, 2020

    @AnishGG
    Member

    I will look into it again!
    Thanks for checking this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions