RUCOGS / rucogs.github.io

New angular site for COGS.
https://www.cogs.club/
2 stars 0 forks source link

Add tagging system for images + filtering #5

Open Atlinx opened 2 years ago

Atlinx commented 2 years ago

Add date tag for images.

Add filtering for images by a specific tag.

Atlinx commented 2 years ago

Right now because we are running on a static site, we cannot dynamically fetch images from a folder. Therefore we have to either:

a) Hard-code values for images into the code. b) Number the images in from 0 to n, where n is the total number of images.

Because we need to attach tagging data, we must use method A because that ensures the image numbers aren't jumbled up when new images are added. However, instead of hard-coding names, we could have a script (python maybe?) iterate through the repo and dynamically generate a typescript file that contains an array of all the image file names.

Atlinx commented 2 years ago

Depends on #7