node-imager icon indicating copy to clipboard operation
node-imager copied to clipboard

Gifs not uploaded properly.

Open matthewpalmer opened this issue 11 years ago • 0 comments

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!

matthewpalmer avatar Dec 27 '14 03:12 matthewpalmer