Depending on the number of images in your photo galleries, it might make sense to allow your website visitors to easily sort through them. When using Modula, this can easily be done using the built-in filter functionality.
To create filters simply use the edit area above and click add new filters as required until you’ve added all of the filters that you wish to use for this gallery.
Let’s use ‘portrait’, ‘landscape’, and ‘sports’ as an example of three filters. Now, as you can see above, we’ve already created the filters, but we haven’t assigned any images to them so they’ll still appear empty at the moment.
How to assign filters to individual images
To assign a filter to an image all you need to do is click the edit icon to the left of the image delete button and then scroll all the way down to the ‘filters’ section as shown below:
You can add as many filters or no filters to an image. If you do not add a filter to an image then it will only appear in the ‘All’ filter on your website’s front-end view of your Modula gallery.
As you can see, now when we click ‘portrait’ on the front-end of our website, Modula will only display the images that have been assigned with that filter respectively.
How to add filters to multiple images (using the bulk edit option)
You may find Modula’s bulk edit option easier when you’re trying to add filters to a large number of images at the same time – here’s how!
When you click the bulk edit button in the bottom right-hand corner of the gallery edit area, you’ll be taken to the screen shown below:
Here you can easily select the images you wish to apply a filter to by clicking or by alternatively using the Select All, Deselect All, and Toggle Selection buttons to the left.
Then proceed to select the filters you wish to add to all of the selected images on the right, as shown below:
And, simply click on the suitable filters so you can hit save!
Last but not least do not forget to update your gallery so the changes are saved!