Your file permissions are setup incorrectly. This script needs read and write access to your photos directory.
You'll need to use a telnet application to signin to your server as root. Use this command to give read and write access to this script: chmod -R 777 /home/edsabers/public_html/gallery/gallery_index.php
Find the /home/edsabers/public_html/gallery/gallery_ directory. Control click on the directory and select "Get Info". At the bottom of the info window under 'Details' make sure it says 'Read & Write' for all three sections. Then click 'Apply to enclosed items'.
Find the /home/edsabers/public_html/gallery/gallery_ directory and give this script write access to it.