Line 1815 is
$pages = ($rowcnt/$pageper);
The photo doesn't even show on the referenced link.
Things set to 0:
Path to jpegtran (if used)
Path to jhead (if used)
Directory for backups?
Allow users to move their own images?
Title for the Announcement box?
Degrees to rotate portrait thumbnails? (set to 0 for no rotation)