Skip to content

thomasgassmann/gatsby-plugin-sharp-exif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-plugin-sharp-exif

npm GitHub

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 } } } } } } } }

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •