We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to get the module to work with S3 - however, I keep getting the error:
Please specify a storage
I've tried both:
var imager = new Imager(imagerConfig.variants.item, imagerConfig.storages.amazon); var imager = new Imager(imagerConfig.storages.amazon);
With the config:
var config = require("./config"); /** * Expose */ exports.variants = { item: { // variant thumb: { // preset options: { // preset options pool: 5, scale: { width: 200, height: 150, type: 'contain' }, crop: { width: 200, height: 150, x: 0, y: 0 }, format: 'png', rotate: 'auto', }, rename: function (file, preset) { return; // return 'users/1/' + preset + '/' + file.name; } }, large: { original: true // upload original image without image processing } } }; exports.storages = { local: { provider: 'local', path: '/tmp', mode: 0777 }, amazon: { provider: 'amazon', key: config.amazon.secret, keyId: config.amazon.id, container: config.amazon.bucket } };
The text was updated successfully, but these errors were encountered:
Also experiencing this issue!
Sorry, something went wrong.
No branches or pull requests
I'm trying to get the module to work with S3 - however, I keep getting the error:
I've tried both:
With the config:
The text was updated successfully, but these errors were encountered: