I want to add support for on-the-fly thumbnails as well (with the same naming conventions and cache location used by zpcore). While stepping through executing code, I don't see a specific line of code where the thumbnails are actually created.
I followed printImageThumb through the return of getThumb,
zp-core/class-image.php.Image->getThumb : lineno 707
zp-core/template-functions.php.getImageThumb : lineno 2319
zp-core/template-functions.php.printImageThumb : lineno 2359
The line zp-core/template-functions.php.printImageThumb : lineno 2371 seems to genenerate the file, but stepping into the function calls there, I don't see where.
Any pointers?