Using the sharp plugin for Gatsby to load a single image code example
Example: gatsbyjs image sharp
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp