Architecture of yairEO/photobox
yairEO/photobox is 3 source files holding 24 symbols across 2 modules, written mainly in JavaScript. The largest module is demo, with 1 file, and 1 file is an entry point into the dependency graph.
How photobox fits together
You add jquery.photobox.js to a page with a gallery of thumbnail links, and videos are marked with a link whose rel attribute is video and whose URL is an iframe embed address. The main plugin file, photobox/jquery.photobox.js, handles the viewer, zoom, thumbnails and navigation. The demo/demo.js file is the demo's entry point, and custom behavior is suggested for a separate jquery.photobox.mod.js file rather than edits to the source.
Largest modules
- demo: 1 file and 67 lines of code
- photobox: 1 file and 798 lines of code
- root: 1 file and 161 lines of code
More on photobox: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos