Skip to content

Animated image conversion - Invalid link returned #4

@jennjwang

Description

@jennjwang

Describe the bug
If you upload an animated image (e.g. a .gif) and convert it to another image format using imagemagick (e.g. a .jpg) the conversion succeeds and I am offered download links.

Unfortunately these download links don't point to anything.

The URL I'm given is convertx-url/download/250337265161646/31/flood.jpg

However as each frame of the animated image is extracted individually the filenames look like filename-<frame-no>.jpg

To confirm this, I see the following in convertx's output directory:

Image

I'm not sure how you'd resolve this, maybe a zip of the frames, or a list of frame links.

To Reproduce
Steps to reproduce the behavior:

  1. Upload an animated image (only tested for .gif, but should apply to apng, webp & others as well?).
  2. Convert to a static format like .jpg.
  3. The conversion succeeds.
  4. You have a link that doesn't point anywhere and a folder of frames.

Checklist:

  • I am accessing ConvertX over HTTPS or have HTTP_ALLOWED=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions