honza / node-thumbnail

Thumbnail worker queue for node.js
http://honza.ca/node-thumbnail/
Other
103 stars 23 forks source link

Call generate thumbs but result always returns empty array files. #40

Open alexkander opened 5 years ago

alexkander commented 5 years ago

When calling the function, it generates the thumbs correctly, but the files result always has an empty array.

thumb({
  source: 'source/path/images.jpg',
  destination: 'dest/path', // <-- 'source/path/image_thumb.jpg' thumbs generate
  concurrency: 4
}, function(files, err, stdout, stderr) {
  console.log('All done!');
  console.log('files', files); // <---- Always is an empty array.
});