Flexible and efficient resize, rename, and upload images to Amazon S3 disk storage. Uses the official AWS Node SDK for transfer, and ImageMagick for image processing. Support for multiple image versions targets.
original version removed still with cleanup false in configuration
Still when the configuration is like in the example:
cleanup: { versions: true, original: false },
the original version is removed, if I remove this cleanup element from the configuration the system keeps everything (original and versions) But it was impossible for me to keep only the original.
I'm using node 7.4.
Your environment
Operating system
[X] Mac
[ ] Windows
[ ] Linux
Node.js version (node --version)
[ ] Node.js v4.x
[X] Node.js v7.4
ImageMagick version (identify -version)
[ ] ImageMagick v6.9.x
[X] ImageMagick v7.0.x
s3-uploader version
[ ] v0.x
[ ] v1.x
[x] v2.x
Steps to reproduce
I basically use a very similar code from the example provided
I expect to keep the original version and remove the versions one from the source after upload the images to S3
Actual behaviour
the original version is removed, if I remove this cleanup element from the configuration the system keeps everything (original and versions) But it was impossible for me to keep only the original.
original version removed still with cleanup false in configuration
Still when the configuration is like in the example:
cleanup: { versions: true, original: false },
the original version is removed, if I remove this cleanup element from the configuration the system keeps everything (original and versions) But it was impossible for me to keep only the original.I'm using node 7.4.
Your environment
node --version
)identify -version
)Steps to reproduce
I basically use a very similar code from the example provided
Expected behaviour
I expect to keep the original version and remove the versions one from the source after upload the images to S3
Actual behaviour
the original version is removed, if I remove this cleanup element from the configuration the system keeps everything (original and versions) But it was impossible for me to keep only the original.