How to install themes

This guide assumes that you have installed your MiniGallery at www.yourwebsite.com/gallery, and that you are trying to install a theme called 'newtheme'.

Step 1: Download theme

Download a theme from our themes repository.  It will be a zip file containing all the theme files, so once it's finished downloading unzip it onto your computer somewhere, preserving the folder structure - all the files should be in a folder called 'newtheme'.

Step 2: Upload theme

Connect to your web space using an FTP or SSH client, and navigate to /gallery/assets/themes/.  Upload the whole 'newtheme' folder to here.  You should end up with the new theme sitting at /gallery/assets/themes/newtheme/, and each theme should contain at the very least 'index.php', 'header.php' and 'footer.php', and will mostly likely contain a lot more, depending on the theme.

Step 3: Tell MiniGallery to use your theme

Open /gallery/index.php in a text editor.  At the beginning of that file you will see a few configuration options.  To change the theme, change $themeToUse to 'newtheme'.  Save it and upload it back to /gallery/.

Step 4: Check it's all working

Go to www.yourwebsite.com/gallery and make sure everything is working as expected.  You may need to refresh your browser to make sure the images are loaded properly.