Skip to content

Commit

Permalink
Update image-tutorial.md (#5281)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaltk authored and KyleAMathews committed May 4, 2018
1 parent bd7f204 commit ae1c61a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docs/docs/image-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Using images pulled from a WordPress demo CMS

### What this tutorial covers:

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.
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.

### Why go through this tutorial?

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

```shell
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp gatsby-image gatsby-source-filesystem
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp gatsby-image
```

Place these plugins in your `gatsby-config.js` like this:
Expand Down Expand Up @@ -109,13 +109,6 @@ module.exports = {
'gatsby-plugin-react-helmet',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images/`,
},
},
],
}
```
Expand Down

0 comments on commit ae1c61a

Please sign in to comment.