This framework handles adding pages to a coloring/activity book and lays them out for print using css.
The CSS has rules for page-breaks and fitting the images to the page.
Selected folders are traversed looking for svg files or raster images to add to the selection fields on the front-end.
Additional scripts are loaded from a specific folder if necessary.
Dynamic endpoints can also be added. The examples in the demo are the word-search and sudoku pages.
Download a sample file created from this Demo. The sample was created by printing to a virtual PDF printer.