1. Go to this page and download the library: Download nickswalker/neuegal library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nickswalker / neuegal example snippets
$themePathFromRoot = realpath('themes/default'); //Where is your theme?
//Note that the theme MUST be in a publicly accesible directory!
//Otherwise your CSS won't load :(
$galleryPathFromRoot = realpath('Sample Gallery');
$neuegal = new \Nickswalker\NeueGal\NeueGal($themePathFromRoot, $galleryPathFromRoot);
$neuegal->display();