1
0
Fork 0
Browse Source

Photo normal size is now 600px

master
Rogier Neeleman 10 years ago
parent
commit
d5b2335250
  1. 4
      genereer

4
genereer

@ -179,7 +179,7 @@ for i in `ls photo/*.txt`; do @@ -179,7 +179,7 @@ for i in `ls photo/*.txt`; do
fi
if [ ! -f $SITE/photo/$DIRNAME/normal/$IMAGENAME ]; then
convert -resize 480 photo/$DIRNAME/$IMAGENAME $SITE/photo/$DIRNAME/normal/$IMAGENAME
convert -resize 600 photo/$DIRNAME/$IMAGENAME $SITE/photo/$DIRNAME/normal/$IMAGENAME
fi
NAME=`echo $IMAGENAME |cut -d\. -f1`
@ -194,7 +194,7 @@ for i in `ls photo/*.txt`; do @@ -194,7 +194,7 @@ for i in `ls photo/*.txt`; do
cat $i >> $SITE/photo/$DIRNAME/$NAME.html
echo "" >> $SITE/photo/$DIRNAME/$NAME.html
echo "<center><a href='__SITEURL__/$FILENAME.html'>index</a></center>" >> $SITE/photo/$DIRNAME/$NAME.html
echo "<center><img src='__SITEURL__/photo/$DIRNAME/normal/$IMAGENAME' width=480px></center>" >> $SITE/photo/$DIRNAME/$NAME.html
echo "<center><img src='__SITEURL__/photo/$DIRNAME/normal/$IMAGENAME' width=600px></center>" >> $SITE/photo/$DIRNAME/$NAME.html
cat $LAYOUT/footer.html >> $SITE/photo/$DIRNAME/$NAME.html
echo -n "*"

Loading…
Cancel
Save