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.
The entered name is passed as a GET query variable to the svg file allowing the svg file to get the name from the path and dynamically change text on the activity-page through the use of Javascript.
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.
Demo the Coloring Book framework in a new window/tab.
Download a sample file created from this Demo. The sample was created by printing to a virtual PDF printer.