You have heard wrong.
Zenphoto is filesystem-based, which means in this case that Zenphoto can use as much disk space as is allocated for the disk. It can (technically) accommodate as many images as the filesystem can hold. There are posts on this forum that talk about the limits of what Zenphoto can handle in terms of images which may provide further insight.