|
|
@ -179,7 +179,7 @@ for i in `ls photo/*.txt`; do |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f $SITE/photo/$DIRNAME/normal/$IMAGENAME ]; then |
|
|
|
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 |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
NAME=`echo $IMAGENAME |cut -d\. -f1` |
|
|
|
NAME=`echo $IMAGENAME |cut -d\. -f1` |
|
|
@ -194,7 +194,7 @@ for i in `ls photo/*.txt`; do |
|
|
|
cat $i >> $SITE/photo/$DIRNAME/$NAME.html |
|
|
|
cat $i >> $SITE/photo/$DIRNAME/$NAME.html |
|
|
|
echo "" >> $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><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 |
|
|
|
cat $LAYOUT/footer.html >> $SITE/photo/$DIRNAME/$NAME.html |
|
|
|
|
|
|
|
|
|
|
|
echo -n "*" |
|
|
|
echo -n "*" |
|
|
|