Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tagging system for images + filtering #5

Open
Atlinx opened this issue Dec 1, 2021 · 2 comments
Open

Add tagging system for images + filtering #5

Atlinx opened this issue Dec 1, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Atlinx
Copy link
Member

Atlinx commented Dec 1, 2021

Add date tag for images.

Add filtering for images by a specific tag.

@Atlinx Atlinx added enhancement New feature or request discussion Needs more discussion before implementing and removed discussion Needs more discussion before implementing labels Dec 1, 2021
@Atlinx
Copy link
Member Author

Atlinx commented Dec 1, 2021

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
Copy link
Member Author

Atlinx commented Dec 1, 2021

Depends on #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant