diff --git a/pages/photos.sh b/pages/photos.sh
index c094b7e..0663846 100755
--- a/pages/photos.sh
+++ b/pages/photos.sh
@@ -2,12 +2,12 @@
# 2024-01-21 Hyperling
# Transition away from PhotoPrism. Helps to save system resources and downsize.
-# Static Variables
+## Static Variables ##
DIR=`dirname $0`
header="\n\t
You may click on an album name to " >> $mainpage -echo -en "view all of its files, or click on a specific image to bring up the " >> $mainpage -echo -en "full resolution. On the album pages you may also click an image or " >> $mainpage -echo -e "video name to pull up the full resolution for download.
" >> $mainpage -echo -e "\t\t\tYou may click on an album name to " >> $mainpage + echo -en "view all of its files, or click on a specific image to bring up the " >> $mainpage + echo -en "full resolution. On the album pages you may also click an image or " >> $mainpage + echo -e "video name to pull up the full resolution for download.
" >> $mainpage + echo -e "\t\t\t`cat $photo`
" >> $mainpage - else - # Otherwise put in the PHOTOS page list. - echo -en "\t\t\t\t`cat $photo`
" >> $mainpage + else + # Otherwise put in the PHOTOS page list. + echo -en "\t\t\t\t`cat $media_file`
" fi - ## Put in the subpage HTML ## - # Set the count if this is the first loop. + # Add a row if count has reset. if [[ -z $count ]]; then count=0 fi - # Add a row for the next 2 images. - if (( $count % 2 == 0 )); then - echo -e "\t\t`cat $photo`
" >> $subpage - else - echo -e "\t\t\t\t\t$filename" >> $subpage - if [[ $photo == *".mp4" ]]; then - echo -en " [VIDEO]" >> $subpage - fi - # Close the image description and its link. - echo -e "
\n\t\t\t\t\n\t\t\t