How To Use A Master Gallery

FooGallery Documentation

How To Use A Master Gallery

FooGallery PRO Commerce includes a Master Gallery setting, which allows you to use one or more galleries as a master template for other galleries. Any gallery using the Master gallery will adopt the same settings as the Master Gallery.

When you set up a Master Gallery, you will create and style a gallery, choosing specific settings for your gallery. You will then set this as your master – in other words, it is a template that you can use for any other galleries on your site. You can then set other galleries to use the master, meaning these galleries will inherit all of the master gallery’s settings.

Below is a guide to using this feature.

Creating a Master Gallery

The first step is to create your Master Gallery. You can either set up a new gallery or you can use one of your existing galleries. Once you have set up the gallery and applied the settings that you want to use, you will then set this gallery as the Master Gallery. To do this, scroll down the gallery page to the Master Gallery Settings and click on Set as a Master Gallery.

set as master gallery

Once that has been applied, you will see that the Master Gallery metabox now gives you the option to unset this gallery as a Master Gallery. So if you no longer want to use this as one of your master templates, you can select this option.

You will also see an instruction explaining how to use the Master Gallery, as we explain in more detail next.

Master gallery in foogallery pro commerce

Applying the Master Gallery

After you have set up a Master Gallery, you can use this as a template for other new or existing galleries on your site. Any gallery that uses a Master Gallery will inherit all the features of the master template; in other words, all settings will be the same as for the Master Gallery.

To set a gallery to use one of your master templates, find the gallery in your gallery library (or create a new gallery). Scroll down to the Master Gallery metabox and click on the drop down menu under Choose a master gallery. You will see a list of your master templates; select the one you wish to use and click on Set.

Apply Master Gallery

Note that when you apply a master gallery, some of the gallery metaboxes will fall away as these are inherited from the master. This includes Bulk Copy, Retina Support, etc. Similarly, you will not see any of the usual gallery settings, such as appearance, hover effects, etc, as these are also inherited from the master. To change any of these settings, you will need to edit the master gallery directly. You can access this by clicking on the link provided under gallery settings.

edit master gallery

When you go to edit the Master Gallery, you will see a message informing you that you are editing a Master Gallery. This will also let you know how many other galleries will be affected by the edit.

Some Points to Note:

Please take note of the following:

  • You can create multiple master galleries on your site.
  • Any settings that you apply to a master gallery will be applied to all galleries that use this as a template.
  • You can set any gallery to be a master gallery. Alternatively you can set any gallery to use a master gallery.
  • You can unset a master gallery, but only if no other galleries are using it as a template. When trying to unset the gallery, you will see a list of galleries using the master – you can change the master for these and then you will be able to unset the master.

Note that this feature is only available in FooGallery PRO Commerce. If you are using FooGallery PRO Expert, you can us the Bulk Copy setting to share settings across galleries. FooGallery Free and PRO Starter do include a default gallery setting, where you can use a single gallery as the default settings for any new galleries.