The client side CSS and JavaScript used by the FooGallery WordPress plugin. This project was split out from the PHP code to make managing the various templates JavaScript and CSS easier. The templates now also share common code to reduce overall file size where possible.
You can also use the CSS and JavaScript in this repo to create awesome galleries without the WordPress plugin. Include the required files in page and create the gallery elements yourself and you are good to go.
Generated assets are not committed to this repository.
Run npm install and then npm run build before using the test pages or any workflow that depends on files under dist/ or test-pages/*/assets/.
There are two versions available in the dist folder, Full and Lite. The difference between these two versions is primarily the CSS however there are also JS differences such as limited paging options etc.
The below lists the various options not included in the Lite version.
fg-loaded-dropfg-loaded-flipfg-loaded-flyfg-loaded-scale-upfg-loaded-swing-downfg-loaded-slide-up,fg-loaded-slide-down,fg-loaded-slide-left,fg-loaded-slide-right
- All presets
- Pagination
- Infinite Scroll
- Load More