set id in gatsby image img component code example Example: gatsbyjs image sharp npm install --save gatsby-transformer-sharp gatsby-plugin-sharp