2.0.0 • Published 1 year ago

gatsby-plugin-sharp-exif v2.0.0

Weekly downloads
15
License
MIT
Repository
github
Last release
1 year ago

gatsby-plugin-sharp-exif

npm GitHub npm.io

Gatsby Plugin to extract EXIF data from images, compatible with gatsby-plugin-sharp

Install

Install gatsby-plugin-sharp-exif...

...using yarn:

yarn add --dev gatsby-plugin-sharp-exif

...or npm:

npm install --save-dev gatsby-plugin-sharp-exif

How to use

Add the plugin to your gatsby-config.js

module.exports = {
  plugins: ['gatsby-plugin-sharp-exif']
};

Then just query the EXIF data as part of the ImageSharp type:

{
  allImageSharp {
    edges {
      node {
        fields {
          exif {
            gps {
              longitude
              latitude
            }
            meta {
              dateTaken
            }
            raw {
              image {
                Make
              }
            }
          }
        }
      }
    }
  }
}
2.0.0

1 year ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago