Skip to content

Commit ae1c61a

Browse files
michaltkKyleAMathews
authored andcommitted
Update image-tutorial.md (#5281)
1 parent bd7f204 commit ae1c61a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

docs/docs/image-tutorial.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Using images pulled from a WordPress demo CMS
44

55
### What this tutorial covers:
66

7-
In this tutorial, you will install the several image plugins and components in order to pull image data from a WordPress account into your Gatsby site and render that data. This [Gatsby + Wordpress demo site]{https://using-wordpress.gatsbyjs.org/sample-post-1) shows you a sample of what you’re going to be building in this tutorial, although in this tutorial you’ll just focus on adding images.
7+
In this tutorial, you will install the several image plugins and components in order to pull image data from a WordPress account into your Gatsby site and render that data. This [Gatsby + Wordpress demo site](https://using-wordpress.gatsbyjs.org/sample-post-1) shows you a sample of what you’re going to be building in this tutorial, although in this tutorial you’ll just focus on adding images.
88

99
### Why go through this tutorial?
1010

@@ -70,7 +70,7 @@ Now you’ll configure gatsby-source-filesystem to load the image directory, add
7070
First, you’ll need to install a few plugins and their dependencies:
7171

7272
```shell
73-
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp gatsby-image gatsby-source-filesystem
73+
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp gatsby-image
7474
```
7575

7676
Place these plugins in your `gatsby-config.js` like this:
@@ -109,13 +109,6 @@ module.exports = {
109109
'gatsby-plugin-react-helmet',
110110
'gatsby-transformer-sharp',
111111
'gatsby-plugin-sharp',
112-
{
113-
resolve: `gatsby-source-filesystem`,
114-
options: {
115-
name: `images`,
116-
path: `${__dirname}/src/images/`,
117-
},
118-
},
119112
],
120113
}
121114
```

0 commit comments

Comments
 (0)