add readme and change some scripts
This commit is contained in:
parent
239c879649
commit
6474c2fd8c
15 changed files with 265 additions and 231 deletions
7
scripts/resize_images.ts
Normal file
7
scripts/resize_images.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import Images from './../src/server/Images'
|
||||
|
||||
const images = Images.allImagesFromDisk('', 'date_asc')
|
||||
images.forEach(async (image) => {
|
||||
console.log(image)
|
||||
Images.resizeImage(image.filename)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue