More specifically, you either have HTML files in your albums and do not have the text object plugin enabled or the theme is doing something wrong. The error that kagutsuchi mentions is saying that Zenphoto was asked to process an "image" with the suffix ".html" which, of course, is not a valid image. It can be handled only by the text object plugin.