Overview
Many of our sites are configured to have a slideshow of images, typically within the header or background of pages, based upon images in a hierarchy of folders within the site files.
You can manage existing slideshow images and add new ones using the Files Manager.
The system looks for images to use in a folder called _slides
that you will find in the root folder of your File Manager. The images in the '_slides' folder itself are the default set of slideshow images.
Caching of slideshow images
Please note that your web browser will 'cache' the original slideshow settings and images for up to 10 minutes. This means you may not see your changes on the site immediately unless you refresh the page in your web browser, but other people visiting the site after the change will see the new version of the slideshow straight away.
Customising slideshows for sections and categories
Further sets of images can be added to be the slideshow images for specific sections or categories on the site. This is done by creating sub-folders in the _slides
folders whose names mirror the URL path of the relevant section and category. The path is the part of the web address after the domain name that you can see in your browser's address bar, usually found at the top of the browser window. For example, www.example.com/all-this-is/the_path/
.
Suppose the current web address in the browser is www.example.com/clubhouse/weddings/
. The system will start by looking for a sub-folder of images /_slides/clubhouse/weddings/
, but if that folder doesn't exist it will try one level up, i.e. /_slides/clubhouse/
. It will keep going back up the folder structure until it finds a folder that does exist, or until it gets to the default images in the _slides
folder itself.
Customising slideshows for other pages
For special pages like /home
and /directory
the system will try searching for a sub-folder with the same name as the page URL, but prefixed with an underscore. So to add a set of images that will only be used for the home page you would put them in a folder /_slides/_home/
.
Hiding slides
An image may be temporarily prevented from appearing in the list by using a prefix of '-.' (so, for example, one might change an image filename to '-.The_clubhouse_in_the_snow.jpg' to hide the photo during summer months).
0 Comments