add readme and change some scripts

This commit is contained in:
Zutatensuppe 2021-05-22 13:19:39 +02:00
parent 239c879649
commit 6474c2fd8c
15 changed files with 265 additions and 231 deletions

7
scripts/resize_images.ts Normal file
View 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)
})