9 | fragment Gatsby Contentful Fixed_tracedSVG on ContentfulFixed { > 10 | traced SVG | ^ 11 | width 12 | height 13 | src 14 | srcSet 15 | } code example

Example 1: gatsby image

const path = require(`path`)

module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: path.join(__dirname, `src`, `images`),
      },
    },
    `gatsby-plugin-sharp`,
    `gatsby-transformer-sharp`,
  ],
}

Example 2: gatsby image

npm install --save gatsby-transformer-sharp gatsby-plugin-sharp