Mentors view, history view

* brought over mentors form data and images
* add contact information to mentors
* add image conversion scripts
* optimised current images
This commit is contained in:
Herman Õunapuu
2018-08-26 23:05:29 +03:00
parent 84e45e01cb
commit e3a5cd0867
169 changed files with 259 additions and 50 deletions

View File

@@ -0,0 +1,11 @@
mkdir -p optimised
for file in original/*; do
echo $file
base_name=$(basename $file)
if [[ $base_name = *"airiin"* ]]; then
gravity=north
else
gravity=center
fi
convert ${file} -resize "300x300^>" -gravity $gravity -extent 300x300 optimised/${base_name%}
done