this change makes it possible, that images have multiple categories. It works with the json source, and each category will be added to the main category list. Then you can filter images by categories as before.
To achieve this with the less possible changes I've changed everywhere the way the category is handled from plain string to array.
It could be nice to have some kind of format for the data-attribute version too, like separating the keywords with commas, but I didn't implement this righ now.
Hello,
this change makes it possible, that images have multiple categories. It works with the json source, and each category will be added to the main category list. Then you can filter images by categories as before.
To achieve this with the less possible changes I've changed everywhere the way the category is handled from plain string to array.
It could be nice to have some kind of format for the data-attribute version too, like separating the keywords with commas, but I didn't implement this righ now.
I'd be happy to read your opinion about this.