From a5b38cdadce85b1cec556c54f6ca076436d9dc84 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 10 Oct 2018 00:06:41 +0200 Subject: [PATCH] some words on exif extraction --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2eca06a0..7a37cc5c 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,13 @@ The whole [blog](https://kremalicious.com) is a React-based Single Page App buil ### 🎆 EXIF extraction -... +Automatically extracts EXIF metadata from my photos on build time. For minimal overhead, [fast-exif](https://github.com/titarenko/fast-exif) parses every JPG file upon Gatsby file node creation and adds the extracted EXIF data as node fields. This way EXIF data is only extracted at build time and can be simply queried with GraphQL at run time. + +In the end looks like this, including location display with [pigeon-maps](https://github.com/mariusandra/pigeon-maps): + +screen shot 2018-10-09 at 23 59 39 + +If you want to know how, have a look at the respective component under [`src/components/atoms/Exif.jsx`](src/components/atoms/Exif.jsx) and the EXIF node fields creation in [`gatsby-node.js`](gatsby-node.js). ### 🕸 Related Posts