Installation: Put the PHP script into a directory on your server containing the JPEGs and ensure it's writable.
stefanschramm/esgal
Extremely Simple Gallery - extremely minimalistic PHP script for automatically creating a thumbnail gallery for JPEG images in the same directory
PHPGPL-3.0