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

Track metadata for images #70

Open
jimtyhurst opened this issue Jul 23, 2021 · 0 comments
Open

Track metadata for images #70

jimtyhurst opened this issue Jul 23, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@jimtyhurst
Copy link
Collaborator

jimtyhurst commented Jul 23, 2021

  • We are required to credit the sources of some of our images and probably should do it for others too.
  • In addition to any references that appear on the website itself, we should track the metadata independently of the display of those images.

Possible Solutions

  1. Create a metadata folder in the source code that contains a images-metadata.csv file with:
    • Fields
      • File name as it appears in our images folder in the website source code.
      • URL to original source.
      • Date the URL was accessed.
      • Name of producer, if known.
      • Credit requirements, i.e. image sites like unsplash.com give instructions for how to give credit to the photographer.
    • Exclude the metadata folder from the build.
      • Maybe use gatsby-plugin-exclude, so that metadata does not appear in the build?
      • Or maybe Gatsby only looks within the src directory for builds anyway? So maybe having metadata as a sister directory to src is sufficient to keep it out of the build artifacts.
@jimtyhurst jimtyhurst added the documentation Improvements or additions to documentation label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant