I'd like to find a no-brainer app that consists in a single PHP file, doesn't require a DB, and is able to create thumbnails the first time it's ran (it's OK if I have to manually call the app to pregenerate the thumbnails eg. www.acme.com/gallery/index.php?initialize=yes

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.