Skip to content

Gifs not uploaded properly. #82

@matthewpalmer

Description

@matthewpalmer

I'm trying to upload a gif to S3. Users can upload gifs from a form-like interface. If I write one of these uploaded gifs to disk from Node then it appears fine, without any issues.

Then when I upload the gif to S3, there are strange black frames between each of the normal frames in the gif (example).

My imager config is

module.exports = {
  variants: {
    items: {
      // keepNames: true,
      resize: {
        default: "250x250"
      }
    }
  },

  storage: {
    Local: {
      path: "/var/www/"
    },
    S3: {
      key: 'key',
      secret: 'secret',
      bucket: 'wildfire-profile-photos',
      storageClass: 'REDUCED_REDUNDANCY',
      secure: false,
    }
  }
};

I was wondering if there were any additional settings for gifs, or any other caveats for using gifs.

Thanks very much for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions