update gitignore

merge-requests/208/head
fatchan 5 years ago
parent 363f4bd1b1
commit 10b66370c4
  1. 2
      .gitignore
  2. 1
      helpers/files/image-thumbnail.js
  3. BIN
      uploads/banner/0efc3bd2-dc1e-4dab-943d-6b8757a6e87a.png
  4. BIN
      uploads/banner/3f10e499-b347-4b3d-8ed1-f60b2f62ca17.png
  5. BIN
      uploads/banner/78111862-7144-4599-9893-ba84ec64704d.png

2
.gitignore vendored

@ -2,6 +2,6 @@ node_modules/
configs/*.json
uploads/img/*
uploads/captcha/*
upload/banner/*
uploads/banner/*
gulp/dist/
tmp/

@ -6,6 +6,7 @@ module.exports = (filename) => {
return new Promise((resolve, reject) => {
gm(`${uploadDirectory}img/${filename}`)
.noProfile()
.resize(128, 128)
// .quality(30)
.write(`${uploadDirectory}img/thumb-${filename.split('.')[0]}.jpg`, function (err) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Loading…
Cancel
Save