/gatsby-wpgraphql-inline-images

Solution for Gatsby and WPGraphQL sourced content. Downloads images locally.

Primary LanguageJavaScriptMIT LicenseMIT

gatsby-wpgraphql-inline-images

Forked version to support gatsby-source-wordpress.

example config

{
  resolve: 'gatsby-wordpress-source-inline-images',
  options: {
    wordPressUrl: 'https://mydomain.com/',
    uploadsUrl: 'https://mydomain.com/wp-content/uploads/',
    processPostTypes: ['PAGE', 'POST'],
    graphqlTypeName: 'wordpress',
  },
},

For more info, please read original documentation.

Note: ignore official docs for the following options:

{
  processPostTypes: ['PAGE', 'POST'],
  graphqlTypeName: 'wordpress',
}